Table of Contents

Method AddEnumValue

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

AddEnumValue(IGenericEnumEntry)

Adds a single enum value to the field descriptor.

public GenericEnumFieldDescriptorBuilder AddEnumValue(IGenericEnumEntry enumEntry)

Parameters

enumEntry IGenericEnumEntry

The enum entry to add.

Returns

GenericEnumFieldDescriptorBuilder

The builder instance.

Exceptions

ArgumentNullException

Thrown when enumEntry is null.

NotSupportedException

Thrown when the enum entry type does not match the configured enum type.