Click or drag to resize

Label Class

Defines a label object for JSON serialized data in dynamic lookups.
Inheritance Hierarchy
SystemObject
  GSF.Web.ModelLabel

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
public class Label
View Source

The Label type exposes the following members.

Constructors
 NameDescription
Public methodLabel Creates a new Label.
Top
Methods
 NameDescription
Public methodStatic memberCreate Creates a new Label instance.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldlabel Label value.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
Useful for creating serialized JSON like "[{ label : "name" }, ...]" that can be used in dynamic lookup lists.
See Also