Table of Contents

Class WithOptionsAttributeBase

Namespace
MES.MQC.UtilityLibrary.Form.Attributes.Field
Assembly
MES.MQC.UtilityLibrary.dll
public abstract class WithOptionsAttributeBase : FieldAttributeBase, _Attribute, IFieldAttribute
Inheritance
WithOptionsAttributeBase
Implements
Derived
Inherited Members

Properties

Options

public string[] Options { get; set; }

Property Value

string[]

OptionsWithLabel

[JsonIgnore]
public OptionWithLabel[] OptionsWithLabel { get; set; }

Property Value

OptionWithLabel[]

ValidateOptionValueInBackend

public bool ValidateOptionValueInBackend { get; set; }

Property Value

bool

Methods

AllowEnumType()

PropertyType for this attribute can be a enum

public override bool AllowEnumType()

Returns

bool

GetBasicTypes()

Allowed basic types for PropertyType

public override Type[] GetBasicTypes()

Returns

Type[]