Table of Contents

Method WithFieldValue

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

WithFieldValue<TValue>(FieldDescriptorID, TValue)

Sets the field value for a specific field descriptor ID.

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

Parameters

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>(FieldDescriptor, TValue)

Sets the field value for a specific field descriptor.

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

Parameters

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, TValue, DomCache)

Sets the field value for a specific field descriptor.

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

Parameters

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.