Class ClassModel
Root model for a class diagram.
public record ClassModel : IEquatable<ClassModel>
- Inheritance
-
ClassModel
- Implements
- Inherited Members
Constructors
ClassModel(string?, IReadOnlyList<TypeDefinition>, IReadOnlyList<Relationship>)
Root model for a class diagram.
public ClassModel(string? Title, IReadOnlyList<TypeDefinition> Types, IReadOnlyList<Relationship> Relationships)
Parameters
TitlestringAn optional title for the diagram.
TypesIReadOnlyList<TypeDefinition>The type definitions in the diagram.
RelationshipsIReadOnlyList<Relationship>The relationships between types in the diagram.
Properties
Relationships
The relationships between types in the diagram.
public IReadOnlyList<Relationship> Relationships { get; init; }
Property Value
Title
An optional title for the diagram.
public string? Title { get; init; }
Property Value
Types
The type definitions in the diagram.
public IReadOnlyList<TypeDefinition> Types { get; init; }