class MemberDescription

book_4_sparkGenerated
code_blocksInput

Description

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.

Members

Properties

Member NameSummary
TypeDescriptionThe type that we're a member of
NameName of this type member.
IdentityAn integer that represents this member. Based off its type and name.
TitleDisplay name or title of this type member.
DescriptionDescription of this type member. This usually provided from the summary XML comment above the definition.
IconThe icon for this, if provided via the [Icon] attribute
GroupThe group - usually provided via the [Group] attribute
ReadOnlyIf this is marked as [ReadOnly]
OrderThe display order - usually provided via the [Order] attribute
TagsTags are usually provided via the [Tags] attribute
AliasesAliases allow this to be found by alternative names.
AttributesAttributes on this member
IsStaticTrue if static
IsPublicTrue if publicly accessible
IsFamily
IsMethodTrue if we're a method
IsPropertyTrue if we're a property
IsFieldTrue if we're a field
SourceLineThe line number of this member
SourceFileThe file containing this member

Methods

Member NameSummary
GetDisplayInfoAccess the full DisplayInfo for this type. This is faster than creating the DisplayInfo every time we need it.
IsNamed
HasTag
HasAttribute
GetCustomAttribute