C# Class Machine.Specifications.Utility.ReflectionHelper

Datei anzeigen Open project: machine/machine.specifications

Public Methods

Method Description
GetInstanceFields ( this type ) : IEnumerable
GetInstanceFieldsOfUsage ( this type ) : IEnumerable
GetInstanceFieldsOfUsage ( this type, AttributeFullName attributeFullName ) : IEnumerable
GetStaticProtectedOrInheritedFieldNamed ( this type, string fieldName ) : FieldInfo
GetStaticProtectedOrInheritedFields ( this type ) : IEnumerable
IsOfUsage ( this fieldInfo, AttributeFullName attributeFullName ) : bool

Private Methods

Method Description
GetDelegateUsage ( this fieldInfo ) : AttributeFullName

Method Details

GetInstanceFields() public static method

public static GetInstanceFields ( this type ) : IEnumerable
type this
return IEnumerable

GetInstanceFieldsOfUsage() public static method

public static GetInstanceFieldsOfUsage ( this type ) : IEnumerable
type this
return IEnumerable

GetInstanceFieldsOfUsage() public static method

public static GetInstanceFieldsOfUsage ( this type, AttributeFullName attributeFullName ) : IEnumerable
type this
attributeFullName AttributeFullName
return IEnumerable

GetStaticProtectedOrInheritedFieldNamed() public static method

public static GetStaticProtectedOrInheritedFieldNamed ( this type, string fieldName ) : FieldInfo
type this
fieldName string
return System.Reflection.FieldInfo

GetStaticProtectedOrInheritedFields() public static method

public static GetStaticProtectedOrInheritedFields ( this type ) : IEnumerable
type this
return IEnumerable

IsOfUsage() public static method

public static IsOfUsage ( this fieldInfo, AttributeFullName attributeFullName ) : bool
fieldInfo this
attributeFullName AttributeFullName
return bool