public static Type ( Type type, object instance, string messageOrParamName ) : void | ||
type | Type | Type that the parameter must be (or derive/implement). |
instance | object | instance |
messageOrParamName | string | error message or parameter name |
return | void |