Zum Hauptinhalt springen

RepositoryModelVersion

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.Services

A version of a model that a repository holds, with the repository's own state name (a tenant repository: Available, ResolveFailed, Importing).

public record RepositoryModelVersion : IEquatable<RepositoryModelVersion>

Inheritance Object → RepositoryModelVersion
Implements IEquatable<RepositoryModelVersion>

Properties​

ModelId​

The versioned model id

public CkModelId ModelId { get; set; }

Property Value​

CkModelId

State​

The state the repository keeps the model in

public string State { get; set; }

Property Value​

String

Constructors​

RepositoryModelVersion(CkModelId, String)​

A version of a model that a repository holds, with the repository's own state name (a tenant repository: Available, ResolveFailed, Importing).

public RepositoryModelVersion(CkModelId ModelId, string State)

Parameters​

ModelId CkModelId
The versioned model id

State String
The state the repository keeps the model in