Zum Hauptinhalt springen

CkModelCompileCandidate

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

The root object for a CK model that is a candidate for compilation.

public class CkModelCompileCandidate : CkModelRootBase

Inheritance Object → CkModelPropertiesDto → CkModelRootBase → CkModelCompileCandidate

Properties​

DependencyRanges​

Gets or sets the dependency ranges of the model.

public List<CkModelIdVersionRange> DependencyRanges { get; set; }

Property Value​

List<CkModelIdVersionRange>

Compatibility​

The acknowledgements declared in ckModel.yaml, null when there are none.

public CkCompatibilityDto Compatibility { get; set; }

Property Value​

CkCompatibilityDto

Types​

Returns types of the model

public List<CkCompiledTypeDto> Types { get; set; }

Property Value​

List<CkCompiledTypeDto>

AssociationRoles​

Returns associations of the model

public List<CkAssociationRoleDto> AssociationRoles { get; set; }

Property Value​

List<CkAssociationRoleDto>

Attributes​

Returns attributes of the model

public List<CkAttributeDto> Attributes { get; set; }

Property Value​

List<CkAttributeDto>

Records​

Returns records of the model that are used for complex attributes

public List<CkRecordDto> Records { get; set; }

Property Value​

List<CkRecordDto>

Enums​

Returns enums of the model used for enum attributes

public List<CkEnumDto> Enums { get; set; }

Property Value​

List<CkEnumDto>

Interfaces​

CK v2: returns the interfaces of the model. null when the model declares none.

public List<CkInterfaceDto> Interfaces { get; set; }

Property Value​

List<CkInterfaceDto>

ModelId​

Gets or sets the model id.

public CkModelId ModelId { get; set; }

Property Value​

CkModelId

Description​

An optional description of the model

public string Description { get; set; }

Property Value​

String

CkLanguage​

CK v2: the CK language version of the model. null (omitted) means 1. Version 2 enables interfaces, implements, attribute access, methods, visibility, derivable (whose default it changes to Model) and targetCkInterfaceId. A model with a version above CkModelPropertiesDto.MaxSupportedCkLanguage is rejected (message 91).

public Nullable<int> CkLanguage { get; set; }

Property Value​

Nullable<Int32>

EffectiveCkLanguage​

The effective CK language version (CkModelPropertiesDto.CkLanguage or 1).

public int EffectiveCkLanguage { get; }

Property Value​

Int32

Constructors​

CkModelCompileCandidate()​

public CkModelCompileCandidate()