Class MemberDocumentation
Describes documentation about a member.
Inherited Members
Namespace: SpiceSharp.Documentation
Assembly: SpiceSharp.dll
Syntax
public class MemberDocumentation
Constructors
MemberDocumentation(MemberInfo)
Initializes a new instance of the MemberDocumentation class.
Declaration
public MemberDocumentation(MemberInfo member)
Parameters
Type | Name | Description |
---|---|---|
MemberInfo | member | The member info. |
Properties
BaseType
Gets the base member type of the parameter and/or property.
Declaration
public Type BaseType { get; }
Property Value
Type | Description |
---|---|
Type | The base type. |
Description
Gets the description of the property and/or parameter.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
string | The description. |
Interesting
Gets a value indicating whether this member is interesting.
Declaration
public bool Interesting { get; }
Property Value
Type | Description |
---|---|
bool |
|
IsParameter
Determines whether the member describes a parameter (can set a value).
Declaration
public bool IsParameter { get; }
Property Value
Type | Description |
---|---|
bool |
|
IsPrincipal
Gets a value indicating whether this instance is principal.
Declaration
public bool IsPrincipal { get; }
Property Value
Type | Description |
---|---|
bool |
|
IsProperty
Determines whether the member describes a property (can return a value).
Declaration
public bool IsProperty { get; }
Property Value
Type | Description |
---|---|
bool |
|
IsStatic
Gets a value indicating whether the member is static.
Declaration
public bool IsStatic { get; }
Property Value
Type | Description |
---|---|
bool |
|
Member
Gets the member.
Declaration
public MemberInfo Member { get; }
Property Value
Type | Description |
---|---|
MemberInfo | The member. |
MemberType
Gets the type of the parameter and/or property.
Declaration
public Type MemberType { get; }
Property Value
Type | Description |
---|---|
Type | The type. |
Names
Gets the names of the member.
Declaration
public IReadOnlyList<string> Names { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<string> | The names of the member. |
Units
Gets the units of the member.
Declaration
public string Units { get; }
Property Value
Type | Description |
---|---|
string | The units. |