ClassMember Class
An attribute or a method of a class.
public sealed class ClassMemberConstructors
| Name | Description |
|---|---|
| ClassMember(string) | Initializes a new instance of the ClassMember class. |
ClassMember(string)
ClassMember.csInitializes a new instance of the ClassMember class.
public ClassMember(string text)Parameters
textstring- The member, such as
String nameorgetName() String. The generic types are writtenList~int~, as in Mermaid, and shownList<int>.
Properties
| Name | Description |
|---|---|
| IsAbstract | Gets or sets a value that indicates whether the member is abstract: it is in italic (Mermaid *). |
| IsMethod | Gets a value that indicates whether the member is a method: its text has parentheses. |
| IsStatic | Gets or sets a value that indicates whether the member is static: it is underlined (Mermaid $). |
| Text | Gets the member, without its visibility. |
| Visibility | Gets or sets the visibility. |
IsAbstract
ClassMember.csIsMethod
ClassMember.csIsStatic
ClassMember.csText
ClassMember.csVisibility
ClassMember.csMethods
| Name | Description |
|---|---|
| GetDisplayText() | Returns the member as it is shown: its visibility, its text with the generic types between angle brackets, and the return type of a method after a colon. |
| ToString() | Returns the text shown. |