Table of Contents

Class ClassModel

Namespace
ProjGraph.Core.Models
Assembly
ProjGraph.Core.dll

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

Title string

An optional title for the diagram.

Types IReadOnlyList<TypeDefinition>

The type definitions in the diagram.

Relationships IReadOnlyList<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

IReadOnlyList<Relationship>

Title

An optional title for the diagram.

public string? Title { get; init; }

Property Value

string

Types

The type definitions in the diagram.

public IReadOnlyList<TypeDefinition> Types { get; init; }

Property Value

IReadOnlyList<TypeDefinition>