Method IsEqualTo
IsEqualTo<T>(T, T, string)
Ensures that the value of a parameter is equal to a comparand.
public static T IsEqualTo<T>(T value, T comparand, string paramName)
Parameters
valueTThe value of the parameter.
comparandTThe comparand.
paramNamestringThe name of the parameter.
Returns
- T
The value of the parameter.
Type Parameters
TType type of the value.