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

NameDescription
Public methodStatic memberCanCastTo Checks whether the type defined by self can be casted to the type defined by [!:to].
Public methodStatic memberIsValidCast Checks whether the type defined by from can be casted to the type defined by [!:to].
Public methodStatic memberThrowIfCannotCastTo Throws an InvalidCastException if the type defined by self can’t be casted to the type defined by [!:to].
Public methodStatic memberThrowIfInvalidCast Throws an InvalidCastException if the type defined by from can’t be casted to the type defined by [!:to].

See Also

Reference

UltimateXR.Extensions.System Namespace