Click or drag to resize

MemberInfoExtensions Class

Defines extensions methods related to MemberInfo objects and derived types (e.g., FieldInfo, PropertyInfo, MethodInfo, etc.).
Inheritance Hierarchy
SystemObject
  GSF.ReflectionMemberInfoExtensions

Namespace: GSF.Reflection
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
Syntax
public static class MemberInfoExtensions
View Source

The MemberInfoExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodAttributeExistsTMemberInfo, TAttribute Returns a boolean flag that determines if the specified TAttribute exists.
Public Extension MethodGetFriendlyClassNameTMemberInfo Gets the friendly class name of the provided MemberInfo object, trimming generic parameters.
Public Extension MethodTryGetAttributeTMemberInfo(TMemberInfo, String, Attribute) Attempts to get the specified attribute from a MemberInfo object, returning true if it does.
Public Extension MethodTryGetAttributeTMemberInfo(TMemberInfo, Type, Attribute) Attempts to get the specified attribute from a MemberInfo object, returning true if it does.
Public Extension MethodTryGetAttributeTMemberInfo, TAttribute(TMemberInfo, TAttribute) Attempts to get the specified attribute from a MemberInfo object, returning true if it does.
Public Extension MethodTryGetAttributesTMemberInfo(TMemberInfo, String, Attribute) Attempts to get the specified attributes from a MemberInfo object, returning true if it does.
Public Extension MethodTryGetAttributesTMemberInfo(TMemberInfo, Type, Attribute) Attempts to get the specified attributes from a MemberInfo object, returning true if it does.
Public Extension MethodTryGetAttributesTMemberInfo, TAttribute(TMemberInfo, TAttribute) Attempts to get the specified attributes from a MemberInfo object, returning true if it does.
Top
See Also