class MemberDescription

in global :: Sandbox

Wraps MemberInfo but with caching and sandboxing. Returned by and .


public TypeDescription TypeDescription { get; }

The type that we're a member of

public string Name { get; }

Name of this type member.

public int Identity { get; }

An integer that represents this member. Based off its type and name.

public string Title { get; }

Display name or title of this type member.

public string Description { get; }

Description of this type member. This usually provided from the summary XML comment above the definition.

public string Icon { get; }

The icon for this, if provided via the [Icon] attribute

public string Group { get; }

The group - usually provided via the [Group] attribute

public bool ReadOnly { get; }

If this is marked as [ReadOnly]

public int Order { get; }

The display order - usually provided via the [Order] attribute

public string[] Tags { get; }

Tags are usually provided via the [Tags] attribute

public string[] Aliases { get; }

Aliases allow this to be found by alternative names.

public Attribute[] Attributes { get; }

Attributes on this member

public bool IsStatic { get; }

True if static

public bool IsPublic { get; }

True if publicly accessible

public bool IsFamily { get; }

🤡 Doc inheritance is not yet supported.

No summary.

public bool IsMethod { get; }

True if we're a method

public bool IsProperty { get; }

True if we're a property

public bool IsField { get; }

True if we're a field

public int SourceLine { get; }

The line number of this member

public string SourceFile { get; }

The file containing this member

public bool IsNamed( string name )

Utility function to check whether this string matches this type. Will search name and classname.

public bool HasTag( string tag )

Returns true if Tags contains this tag

public bool HasAttribute( Type t )

Whether or not this has at least one of the specified attribute.

public bool Equals( object obj )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool HasAttribute( )

😔 No documentation found.

public T GetCustomAttribute( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public DisplayInfo GetDisplayInfo( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.