Click or drag to resize

ExtendibleEnumFromIntSafeT Method

IT Hit WebDAV Classes Reference
Converts Nullable int to ExtendibleEnum of spcified type. Returns null if null is passed. If no matching iteger value is found the ArgumentException is thrown.

Namespace:  ITHit.Collab
Assembly:  ITHit.Collab (in ITHit.Collab.dll) Version: (
public static T FromIntSafe<T>(
	Nullable<int> value
where T : new(), ExtendibleEnum


Type: SystemNullableInt32
Integer to convert from.

Type Parameters

Type to convert to.

Return Value

Type: T
ExtendibleEnum of type T or null if null is passed as a parameter.
See Also