Table of Contents

Class DomBehaviorDefinitionBuilder<T>

Namespace
Skyline.DataMiner.Utils.DOM.Builders
Assembly
Skyline.DataMiner.Utils.DOM.dll

Represents a builder for creating instances of Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition.

public class DomBehaviorDefinitionBuilder<T> where T : DomBehaviorDefinitionBuilder<T>

Type Parameters

T

The type of the derived builder class.

Inheritance
DomBehaviorDefinitionBuilder<T>
Derived
Extension Methods

Constructors

DomBehaviorDefinitionBuilder()

Initializes a new instance of the DomBehaviorDefinitionBuilder<T> class.

DomBehaviorDefinitionBuilder(DomBehaviorDefinition)

Initializes a new instance of the DomBehaviorDefinitionBuilder<T> class with a specified Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition.

Fields

_definition

The Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition instance being built by the builder.

Methods

Build()

Builds the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition.

WithID(DomBehaviorDefinitionId)

Sets the ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition.

WithID(Guid)

Sets the ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition using a GUID.

WithInitialStatusId(string)

Sets the initial status ID.

WithName(string)

Sets the name of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomBehaviorDefinition.

WithStatusTransitions(IEnumerable<DomStatusTransition>)

Sets the status transitions.

WithStatuses(IEnumerable<DomStatus>)

Sets the statuses.