Skip to content

Methods_T_CodeJam_Reflection_ReflectionExtensions

andrewvk edited this page Jun 23, 2016 · 11 revisions

ReflectionExtensions Methods

The ReflectionExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member CreateInstance Creates instance of type with specified parameters.
Public methodStatic member GetDefaultConstructor Returns default constructor.
Public methodStatic member GetDelegateParams Returns delegate parameter infos.
Public methodStatic member GetItemType Gets a value indicating whether the current Type encompasses or refers to another type; that is, whether the provided Type is an array, a pointer, or is passed by reference.
Public methodStatic member GetMemberType Gets the type of this member.
Public methodStatic member IsAnonymous Checks if type is an anonymous type.
Public methodStatic member IsInstantiable Gets a value indicating whether the type can be instantiated.
Public methodStatic member IsInteger Checks if type is integer type.
Public methodStatic member IsNullable Gets a value indicating whether the type is Nullable<> type.
Public methodStatic member IsNullableEnum Checks if type is nullable enum type.
Public methodStatic member IsNullableInteger Checks if type is nullable integer type.
Public methodStatic member IsNullableNumeric Checks if type is nullable numeric type.
Public methodStatic member IsNumeric Checks if type is numeric type.
Public methodStatic member IsStatic Gets a value indicating whether the type is declared static.
Public methodStatic member IsSubClass Determines whether the type derives from the specified check.
Public methodStatic member ToEnumUnderlying Returns the underlying type argument of the specified enum type.
Public methodStatic member ToNullableUnderlying Returns the underlying type argument of the specified nullable type.
Public methodStatic member ToUnderlying Returns the underlying type argument of the specified type.
  Back to Top

See Also

Reference

ReflectionExtensions Class
CodeJam.Reflection Namespace

Clone this wiki locally