Zum Hauptinhalt springen

CkMethodGraph

Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DependencyGraph

A method of a CK type in the dependency graph (CK v2, AB#5669). CkTypeGraph.AllMethods holds one entry per method including inherited ones; CkMethodGraph.DeclaringCkTypeId is the type that declares the method (the base type for an inherited method).

public record CkMethodGraph : IEquatable<CkMethodGraph>

Inheritance Object → CkMethodGraph
Implements IEquatable<CkMethodGraph>

Properties​

DeclaringCkTypeId​

The CK type that declares the method

public CkId<CkTypeId> DeclaringCkTypeId { get; set; }

Property Value​

CkId<CkTypeId>

Definition​

The method definition as declared in the model

public CkMethodDto Definition { get; set; }

Property Value​

CkMethodDto

Visibility​

CK v2 (F1.1-S4): the effective visibility of the method (declared, otherwise Public).

public CkVisibilityDto Visibility { get; }

Property Value​

CkVisibilityDto

QualifiedMethodId​

The model-version-less qualified method id (see CkMethodGraph.QualifiedMethodId).

public string QualifiedMethodId { get; }

Property Value​

String

TimeoutSeconds​

The effective timeout (CkMethodExecutionDto.TimeoutSeconds or CkMethodExecutionDto.DefaultTimeoutSeconds).

public int TimeoutSeconds { get; }

Property Value​

Int32

Constructors​

CkMethodGraph(CkId<CkTypeId>, CkMethodDto)​

A method of a CK type in the dependency graph (CK v2, AB#5669). CkTypeGraph.AllMethods holds one entry per method including inherited ones; CkMethodGraph.DeclaringCkTypeId is the type that declares the method (the base type for an inherited method).

public CkMethodGraph(CkId<CkTypeId> DeclaringCkTypeId, CkMethodDto Definition)

Parameters​

DeclaringCkTypeId CkId<CkTypeId>
The CK type that declares the method

Definition CkMethodDto
The method definition as declared in the model