Table of Contents

Method AddFieldDescriptor

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

AddFieldDescriptor(FieldDescriptor)

Adds a field descriptor to the section definition.

public T AddFieldDescriptor(FieldDescriptor fieldDescriptor)

Parameters

fieldDescriptor FieldDescriptor

The field descriptor to add.

Returns

T

The builder instance.

AddFieldDescriptor<TFieldDescriptor>(FieldDescriptorBuilder<TFieldDescriptor>)

Adds a field descriptor to the section definition using a builder.

public T AddFieldDescriptor<TFieldDescriptor>(FieldDescriptorBuilder<TFieldDescriptor> fieldDescriptorBuilder) where TFieldDescriptor : FieldDescriptorBuilder<TFieldDescriptor>

Parameters

fieldDescriptorBuilder FieldDescriptorBuilder<TFieldDescriptor>

The field descriptor builder instance.

Returns

T

The builder instance.

Type Parameters

TFieldDescriptor

The type of the field descriptor builder.

AddFieldDescriptor(Action<FieldDescriptorBuilder>)

Adds a field descriptor to the section definition using a builder action.

public T AddFieldDescriptor(Action<FieldDescriptorBuilder> builder)

Parameters

builder Action<FieldDescriptorBuilder>

The builder action for creating a field descriptor.

Returns

T

The builder instance.