TypeExtensions.Is Method
Equivalent to the is
operator in C#. Gets a value indicating whether the current type is assignable to another given type,
given as an IType.
Declaration
public static bool Is(this IType left, IType right, ConversionKind kind, TypeComparison typeComparison)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equivalent to the is
operator in C#. Gets a value indicating whether the current type is assignable to another given type,
given as a reflection System.Type.
Declaration
public static bool Is(this IType left, Type right, ConversionKind kind, TypeComparison typeComparison)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equivalent to the is
operator in C#. Gets a value indicating whether the current type is assignable to another given type,
given as a reflection System.Type.
Declaration
public static bool Is(this IType left, SpecialType right, ConversionKind kind)
Parameters
Returns
Type |
Description |
System.Boolean |
|