Common Logging 2.0 API Reference

ArgUtils.AssertIsAssignable(T)(String, Type, String, Object) Method

Throws a ArgumentOutOfRangeException if an object of type valType is not assignable to type .

[Visual Basic]
Public Overloads Shared Sub AssertIsAssignable(Of T)( _
   ByVal paramName As String, _
   ByVal valType As Type, _
   ByVal messageFormat As String, _
   ParamArray args As Object _
)
[C#]
public static Type AssertIsAssignable<T>(
   string paramName,
   Type valType,
   string messageFormat,
   params object[] args
);

See Also

ArgUtils Class | Common.Logging.Configuration Namespace | ArgUtils.AssertIsAssignable(T) Overload List