Zum Hauptinhalt springen

CkTypeWithAttributesGraph

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DependencyGraph

Represents a construction kit type with attributes in the dependency graph

public abstract class CkTypeWithAttributesGraph

Inheritance Object → CkTypeWithAttributesGraph

Properties​

DefinedAttributes​

Gets or sets a list of attributes that are defined by the current type

public IReadOnlyCollection<CkTypeAttributeDto> DefinedAttributes { get; }

Property Value​

IReadOnlyCollection<CkTypeAttributeDto>

AllAttributes​

Gets or sets a list of attributes including inherited ones.

public IReadOnlyDictionary<CkId<CkAttributeId>, CkTypeAttributeGraph> AllAttributes { get; }

Property Value​

IReadOnlyDictionary<CkId<CkAttributeId>, CkTypeAttributeGraph>

AllAttributesByName​

Gets or sets a list of attributes including inherited ones.

public IReadOnlyDictionary<string, CkTypeAttributeGraph> AllAttributesByName { get; }

Property Value​

IReadOnlyDictionary<String, CkTypeAttributeGraph>

Methods​

TryAddAttribute(CkTypeAttributeGraph)​

Adds an attribute to the current type

internal bool TryAddAttribute(CkTypeAttributeGraph ckTypeAttributeGraph)

Parameters​

ckTypeAttributeGraph CkTypeAttributeGraph

Returns​

Boolean