Method IsAssignableFrom
IsAssignableFrom(TypeInfo, Type)
Determines whether the specified type can be assigned to the current type.
Declaration
public static bool IsAssignableFrom(this TypeInfo typeInfo, Type other)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | typeInfo | This TypeInfo instance. |
Type | other | The type to check. |
Returns
Type | Description |
---|---|
Boolean | true if the specified type can be assigned to this type, otherwise false . |
Remarks
This is a polyfill implementation for .NET Standard.