DevForce Help Reference
TypeFns Class Members
Fields  Methods 


The following tables list the members exposed by TypeFns.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DecimalTypes Returns an array of decimal types.  
Public Fieldstatic (Shared in Visual Basic)IntegerTypes Returns an array of integer types.  
Public Fieldstatic (Shared in Visual Basic)NumericTypes Returns an array of numeric types.  
Public Fieldstatic (Shared in Visual Basic)PredefinedTypes Returns an array of predefined types.  
Public Fieldstatic (Shared in Visual Basic)SignedIntegerTypes Returns an array of signed integer types.  
Public Fieldstatic (Shared in Visual Basic)UnsignedIntegerTypes Returns an array of unsigned integer types.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ConstructGenericInstanceOverloaded.  Constructs a generic instance.  
Public Methodstatic (Shared in Visual Basic)ConvertType Try and convert a value to the specified conversion type.  
Public MethodEquals (Inherited from object)
Public Methodstatic (Shared in Visual Basic)FindGenericMethods Finds a collection of generic methods.  
Public Methodstatic (Shared in Visual Basic)FindIEnumerable  
Public Methodstatic (Shared in Visual Basic)FindMethodOverloaded.  Finds a specific public method.  
Public Methodstatic (Shared in Visual Basic)FindMethodsOverloaded.  Finds all the methods that match specific criteria.  
Public Methodstatic (Shared in Visual Basic)FindPropertyCachedSame as FindPropertyOrField(Type,String,Boolean,Boolean) but returns the cached result if it exists.  
Public Methodstatic (Shared in Visual Basic)FindPropertyOrFieldOverloaded.  Finds a specific public property or field. Will be automatically restricted as well by execution environment restrictions ( e.g. Silverlight).  
Public Methodstatic (Shared in Visual Basic)GetDefaultValue Gets the default value for a specified type.  
Public Methodstatic (Shared in Visual Basic)GetElementType Returns the element type of any enumerable type;  
Public Methodstatic (Shared in Visual Basic)GetGenericArgument Gets a single generic argument from a specified type.  
Public Methodstatic (Shared in Visual Basic)GetGroupingInterface Returns the IGrouping interface implemented by the type.  
Public MethodGetHashCode (Inherited from object)
Public Methodstatic (Shared in Visual Basic)GetMethodByExample<TIn,TOut> For internal use only.  
Public Methodstatic (Shared in Visual Basic)GetNonNullableType Returns either the specified type or its non-nullable counterpart.  
Public Methodstatic (Shared in Visual Basic)GetNullableType Gets the nullable type that corresponds to the given type.  
Public Methodstatic (Shared in Visual Basic)GetPropertyValue System.Type extension method to get a property value given a source object.  
Public Methodstatic (Shared in Visual Basic)GetSelfAndBaseClasses Returns a collection of classes (not interfaces) from which the given type directly inherits.  
Public Methodstatic (Shared in Visual Basic)GetSelfAndBaseTypes Returns a collection of types from which the given type directly inherits or implements.  
Public MethodGetType (Inherited from object)
Public Methodstatic (Shared in Visual Basic)GetTypeName Returns the name of either the specified type or its non-nullable counterpart.  
Public Methodstatic (Shared in Visual Basic)InitializeType Will initialize a type by calling its static ( class) ctor and insures that it is only called once.  
Public Methodstatic (Shared in Visual Basic)IsCompatibleWith Determines whether the source type is compatible with the given target type.  
Public Methodstatic (Shared in Visual Basic)IsEnumType Returns whether the specified type (or its non-nullable counterpart) represents an enumeration.  
Public Methodstatic (Shared in Visual Basic)IsGroupingType Returns true if the Type is an IGrouping.  
Public Methodstatic (Shared in Visual Basic)IsIntegralType Returns whether the specified type (or its non-nullable counterpart) represents an integer type.  
Public Methodstatic (Shared in Visual Basic)IsNullableType Returns whether the specified type is a nullable generic type, i.e. Nullable{T}.  
Public Methodstatic (Shared in Visual Basic)IsNumericType Returns whether the specified type (or its non-nullable counterpart) represents a numeric type.  
Public Methodstatic (Shared in Visual Basic)IsPredefinedTypeOverloaded. Returns whether the specified type is one of the PredefinedTypes.  
Public Methodstatic (Shared in Visual Basic)IsSignedIntegralType Returns whether the specified type (or its non-nullable counterpart) represents a signed integer type.  
Public Methodstatic (Shared in Visual Basic)IsUnsignedIntegralType Returns whether the specified type (or its non-nullable counterpart) represents an unsigned integer type.  
Public Methodstatic (Shared in Visual Basic)MakeGenericList Constructs a generic list.  
Public MethodToString (Inherited from object)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from object)
Protected MethodMemberwiseClone (Inherited from object)
Top
See Also

Reference

TypeFns Class
IdeaBlade.Core.Reflection Namespace

Send Feedback