Table of Contents

Class FieldDescriptor

Namespace
Skyline.DataMiner.Net.Sections
Assembly
SLNetTypes.dll

Represents a field descriptor. A field descriptor defines the behavior and look of a field.

[Serializable]
public class FieldDescriptor
Inheritance
FieldDescriptor
Derived
Extension Methods

Constructors

FieldDescriptor()

Initializes a new instance of the FieldDescriptor class.

Fields

SupportedTypes

The supported types.

Properties

DefaultValue

Gets or sets the default value.

FieldType

Gets or sets the type of the field.

ID

Gets or sets the ID.

IsHidden

Gets or sets a value indicating whether this field is hidden.

IsOptional

Gets or sets a value indicating whether this field is optional.

IsReadonly

Gets or sets a value indicating whether this field is read-only.

Name

Gets or sets the name.

Tooltip

Gets or sets the tooltip.

Validators

Gets the field validators.

Methods

ContainsValidSupportedType()

Determines whether the specified type in FieldType is a supported type.

ContainsValidSupportedType(out SectionDefinitionError)

Determines whether the specified type in FieldType is a supported type.

Equals(FieldDescriptor)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to the current object.

GetDictFieldName()

Retrieves the ID string.

GetHashCode()

Calculates the hash code for this object.

IsValueOfValidType(IValueWrapper)

Determines whether the specified value has the valid type.

IschangedInASafeWay(FieldDescriptor)

Determines whether the field descriptor is changed in a safe way.

ToString()

Returns a string that represents the current object.