TypeExt ClassType extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.System.TypeExt
Namespace: UltimateXR.Extensions.System
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class TypeExt
The TypeExt type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanCastTo | Checks whether the type defined by self can be casted to the type defined by [!:to]. | |
IsValidCast | Checks whether the type defined by from can be casted to the type defined by [!:to]. | |
ThrowIfCannotCastTo | Throws an InvalidCastException if the type defined by self can’t be casted to the type defined by [!:to]. | |
ThrowIfInvalidCast | Throws an InvalidCastException if the type defined by from can’t be casted to the type defined by [!:to]. |