Table of Contents

Class DomInstanceBuilder<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.DomInstance.

public class DomInstanceBuilder<T> where T : DomInstanceBuilder<T>

Type Parameters

T

The type of the derived builder class.

Inheritance
DomInstanceBuilder<T>
Derived
Extension Methods

Constructors

DomInstanceBuilder()

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

DomInstanceBuilder(DomDefinition)

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

DomInstanceBuilder(DomDefinitionId)

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

DomInstanceBuilder(DomInstance)

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

Fields

_instance

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

Methods

AddSection(Section)

Adds a section to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.

AddSection(SectionDefinitionID, Action<DomSectionBuilder>)

Adds a section to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance using a section definition ID and a builder action.

AddSection<TSection>(DomSectionBuilder<TSection>)

Adds a section to the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance using a section builder.

Build()

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

WithDefinition(DomDefinition)

Sets the DOM definition of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.

WithDefinition(DomDefinitionId)

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

WithFieldValue<TValue>(SectionDefinition, FieldDescriptor, TValue)

Sets the field value for a specific section definition and field descriptor in the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.

WithFieldValue<TValue>(SectionDefinitionID, FieldDescriptorID, TValue)

Sets the field value for a specific section definition ID and field descriptor ID in the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.

WithFieldValue<TValue>(string, string, TValue, DomCache)

Sets the field value for a specific section definition and field descriptor in the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.

WithID(DomInstanceId)

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

WithID(Guid)

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

WithStatusID(string)

Sets the status ID of the Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstance.