Zum Hauptinhalt springen

CkMetaRootDto

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects

Represents the content of the metadata file

public class CkMetaRootDto : CkModelPropertiesDto

Inheritance Object → CkModelPropertiesDto → CkMetaRootDto

Fields​

CkMetaSchemaUri​

The URI of the schema for the CK meta.

public static string CkMetaSchemaUri;

Properties​

SchemaUri​

The URI of the schema for the CK meta used for serialization.

public string SchemaUri { get; }

Property Value​

String

Dependencies​

Gets or sets the dependencies of the model.

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

Property Value​

List<CkModelIdVersionRange>

Compatibility​

Acknowledgements of changes that need one. Omitted when absent.

public CkCompatibilityDto Compatibility { get; set; }

Property Value​

CkCompatibilityDto

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​

CkMetaRootDto()​

Creates a new instance of the CkMetaRootDto class.

public CkMetaRootDto()