Table of Contents

Class DomDefinitionBuilder<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.DomDefinition.

public class DomDefinitionBuilder<T> where T : DomDefinitionBuilder<T>

Type Parameters

T

The type of the derived builder class.

Inheritance
DomDefinitionBuilder<T>
Derived
Extension Methods

Constructors

DomDefinitionBuilder()

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

DomDefinitionBuilder(DomDefinition)

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

Fields

_definition

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

Methods

AddSectionDefinitionLink(SectionDefinitionLink)

Adds a section definition link to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition.

AddSectionDefinitionLink(SectionDefinitionID)

Adds a section definition link to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition using a section definition ID.

Build()

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

WithDomBehaviorDefinition(DomBehaviorDefinition)

Sets the DOM behavior definition of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition.

WithDomBehaviorDefinition(DomBehaviorDefinitionId)

Sets the DOM behavior definition ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomDefinition.

WithID(DomDefinitionId)

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

WithID(Guid)

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

WithName(string)

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