The MemberDescription class in the Sandbox
namespace provides a wrapper around MemberInfo with added caching and sandboxing capabilities. It is typically returned by Internal.TypeLibrary and TypeDescription.
The MemberDescription class in the Sandbox
namespace provides a wrapper around MemberInfo with added caching and sandboxing capabilities. It is typically returned by Internal.TypeLibrary and TypeDescription.
Member Name | Summary |
---|---|
TypeDescription | The type that we're a member of |
Name | Name of this type member. |
Identity | An integer that represents this member. Based off its type and name. |
Title | Display name or title of this type member. |
Description | Description of this type member. This usually provided from the summary XML comment above the definition. |
Icon | The icon for this, if provided via the [Icon] attribute |
Group | The group - usually provided via the [Group] attribute |
ReadOnly | If this is marked as [ReadOnly] |
Order | The display order - usually provided via the [Order] attribute |
Tags | Tags are usually provided via the [Tags] attribute |
Aliases | Aliases allow this to be found by alternative names. |
Attributes | Attributes on this member |
IsStatic | True if static |
IsPublic | True if publicly accessible |
IsFamily | |
IsMethod | True if we're a method |
IsProperty | True if we're a property |
IsField | True if we're a field |
SourceLine | The line number of this member |
SourceFile | The file containing this member |
Member Name | Summary |
---|---|
GetDisplayInfo | Access the full DisplayInfo for this type. This is faster than creating the DisplayInfo every time we need it. |
IsNamed | |
HasTag | |
HasAttribute | |
GetCustomAttribute |