Constructor ClassModel
- Namespace
- Docfx.ResultSnippets
- Assembly
- Docfx.ResultSnippets.dll
ClassModel(string, ClassModifier?, IEnumerable<MemberModel>?, IEnumerable<string>?, string?)
Model of a class in the class diagram
public ClassModel(string Name, ClassModifier? Modifier = null, IEnumerable<MemberModel>? Members = null, IEnumerable<string>? Values = null, string? Notes = null)
Parameters
Name
stringclass name
Modifier
ClassModifier?optional modifier
Members
IEnumerable<MemberModel>optional members, if provided the member is a method
Values
IEnumerable<string>optional values, if set the class is an enum
Notes
stringoptional notes against the class