Table of Contents

Method WithFieldValue

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

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.

public T WithFieldValue<TValue>(SectionDefinitionID sectionDefinitionID, FieldDescriptorID fieldDescriptorID, TValue value)

Parameters

sectionDefinitionID SectionDefinitionID

The section definition ID.

fieldDescriptorID FieldDescriptorID

The field descriptor ID.

value TValue

The value to set.

Returns

T

The builder instance.

Type Parameters

TValue

The type of the field value.

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.

public T WithFieldValue<TValue>(SectionDefinition sectionDefinition, FieldDescriptor fieldDescriptor, TValue value)

Parameters

sectionDefinition SectionDefinition

The section definition.

fieldDescriptor FieldDescriptor

The field descriptor.

value TValue

The value to set.

Returns

T

The builder instance.

Type Parameters

TValue

The type of the field value.

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.

public T WithFieldValue<TValue>(string sectionDefinitionName, string fieldName, TValue value, DomCache cache)

Parameters

sectionDefinitionName string

The name of the section definition.

fieldName string

The name of the field.

value TValue

The value to set.

cache DomCache

An instance of DomCache.

Returns

T

The builder instance.

Type Parameters

TValue

The type of the field value.