Click or drag to resize

TypeInfoUtils Class

Utility methods for Type. Collected in this class to not spread NETFX_CORE #ifs all over the code.
Inheritance Hierarchy
SystemObject
  Slash.Unity.DataBind.Core.UtilsTypeInfoUtils

Namespace:  Slash.Unity.DataBind.Core.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static class TypeInfoUtils

The TypeInfoUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateDelegate
Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.
Public methodStatic memberFindTypesWithBase
Searches all loaded assemblies and returns the types which have the specified attribute.
Public methodStatic memberGetBaseType
Returns the base type of the specified type.
Public methodStatic memberGetGenericArguments
Returns the generic arguments of the type.
Public methodStatic memberGetInterfaces
Returns the implemented interfaces by the type.
Public methodStatic memberGetMethodInfo
Returns the method info for the specified delegate.
Public methodStatic memberGetPrivateField
Searches for the private field with the specified name.
Public methodStatic memberGetPublicField
Searches for the public field with the specified name.
Public methodStatic memberGetPublicMethod
Searches for the public method with the specified name.
Public methodStatic memberGetPublicProperty
Searches for the public property with the specified name.
Public methodStatic memberIsEnum
Indicates if the specified type is an enum type.
Public methodStatic memberIsGenericType
Indicates if type is a generic type.
Public methodStatic memberIsValueType
Indicates if type is a value type.
Top
See Also