The equivalent of java's Class<? extends...gt; syntax. Allows you to restrict a Type to a certain class hierarchy.
More...
|
SafeType< T > | GetTypeErasure () |
| Returns the generic type definition corresponding to this type. Will return the same type if this is already a generic type. More...
|
|
T | CreateInstance () |
| Creates a new instance of the given type More...
|
|
override bool | Equals (object o) |
| Returns true iff these represent the same underlying type and the SafeType has the same parent type. More...
|
|
override int | GetHashCode () |
| Returns a hash of the type More...
|
|
override string | ToString () |
| Returns a string representation of the member type More...
|
|
|
static SafeType< T > | ForRawType (Type type) |
| Returns the SafeType for a given raw type. NOTE: If possible use Get<U>() instead since it is statically checked at compile time. More...
|
|
static SafeType< T > | Get< U > () |
| Gets an instance of the safe type in a type-safe fashion. More...
|
|
static SafeType< T > | Get (T obj) |
| Gets an instance of the safe type in a type-safe fashion from an object. More...
|
|
The equivalent of java's Class<? extends...gt; syntax. Allows you to restrict a Type to a certain class hierarchy.
T Org.IdentityConnectors.Common.SafeType< T >.CreateInstance |
( |
| ) |
|
Creates a new instance of the given type
- Returns
- The new instance
override bool Org.IdentityConnectors.Common.SafeType< T >.Equals |
( |
object |
o | ) |
|
Returns true iff these represent the same underlying type and the SafeType has the same parent type.
- Parameters
-
- Returns
- true iff these represent the same underylying type and the TypeGroup has the same parent type
static SafeType<T> Org.IdentityConnectors.Common.SafeType< T >.ForRawType |
( |
Type |
type | ) |
|
|
static |
Returns the SafeType for a given raw type. NOTE: If possible use Get<U>() instead since it is statically checked at compile time.
- Parameters
-
- Returns
static SafeType<T> Org.IdentityConnectors.Common.SafeType< T >.Get |
( |
T |
obj | ) |
|
|
static |
Gets an instance of the safe type in a type-safe fashion from an object.
- Returns
- The instance of the safe type
static SafeType<T> Org.IdentityConnectors.Common.SafeType< T >.Get< U > |
( |
| ) |
|
|
static |
Gets an instance of the safe type in a type-safe fashion.
- Returns
- The instance of the safe type
override int Org.IdentityConnectors.Common.SafeType< T >.GetHashCode |
( |
| ) |
|
Returns a hash of the type
- Returns
- a hash of the type
SafeType<T> Org.IdentityConnectors.Common.SafeType< T >.GetTypeErasure |
( |
| ) |
|
Returns the generic type definition corresponding to this type. Will return the same type if this is already a generic type.
- Returns
override string Org.IdentityConnectors.Common.SafeType< T >.ToString |
( |
| ) |
|
Returns a string representation of the member type
- Returns
- a string representation of the member type
Type Org.IdentityConnectors.Common.SafeType< T >.RawType |
|
get |
Returns the underlying C# type
The documentation for this class was generated from the following file:
- C:/ADE/icfbuild_docgen/icf/framework/.ade_path/dotnet/Common/SafeType.cs