Definition Class
Represents a definition that can be referenced in a JSON schema.
Inheritance Hierarchy
System.Object
TcHmiSrv.Core.Value
TcHmiSrv.Core.Tools.Json.JsonValue
TcHmiSrv.Core.Tools.DynamicSymbols.JsonSchemaValue
TcHmiSrv.Core.Tools.DynamicSymbols.Definition
Namespace: TcHmiSrv.Core.Tools.DynamicSymbols
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class Definition : JsonSchemaValue
The Definition type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the Definition class with the specified Value. |
Properties
|
Name |
Description |
---|---|---|
|
Contains the total number of Values the internal data structure can hold without resizing. (Inherited from Value.) | |
|
Gets a value that indicates whether the Value contains a JSON String. (Inherited from Value.) | |
|
Gets the number of Values contained in the Value. (Inherited from Value.) | |
|
Gets a value that indicates whether the Value is an Array. (Inherited from Value.) | |
|
Gets a value that indicates whether the Value is empty. (Inherited from Value.) | |
|
(Inherited from Value.) | |
|
Gets a value that indicates whether Type equals Map or Struct. (Inherited from Value.) | |
|
Gets a value that indicates whether Type equals Null. (Inherited from Value.) | |
|
Gets a value that indicates whether Type equals Int32, Double or Int64. (Inherited from Value.) | |
|
Gets a value that indicates whether the Value is read-only. (Inherited from Value.) | |
|
(Inherited from Value.) | |
|
Gets a value that indicates whether Type equals Vector. (Inherited from Value.) | |
|
Gets or sets the Value at the specified index. (Inherited from Value.) | |
|
Gets or sets the Value with the specified key. (Inherited from Value.) | |
|
Gets an ICollection.T. containing the keys of the Value. (Inherited from Value.) | |
|
Gets the total number of elements in all the dimensions of the Array. (Inherited from Value.) | |
|
Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array. (Inherited from Value.) | |
|
(Inherited from Value.) | |
|
Contains the ValueType of the Value. (Inherited from Value.) | |
|
Gets an ICollection.T. containing the Values in the Value. (Inherited from Value.) |
Methods
|
Name |
Description |
---|---|---|
|
Adds a KeyValuePair.TKey, TValue. to the Value. (Inherited from Value.) | |
|
Adds the specified Value to the Value. (Inherited from Value.) | |
|
Adds a Value with the specified key to the Value. (Inherited from Value.) | |
|
Adds a Value with the specified key to the Value if the key does not already exist, or updates a Value in the Value if the key already exists. (Inherited from Value.) | |
|
Adds the specified Values to the end of the Value. (Inherited from Value.) | |
|
Changes the Type of this Value to the specified ValueType and adjusts the containing data. (Inherited from Value.) | |
| ||
|
Compares the current Value with another Boolean value and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Boolean value. (Inherited from Value.) | |
|
Compares the current Value with another Byte and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Byte. (Inherited from Value.) | |
|
Compares the current Value with other Bytes and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Bytes. (Inherited from Value.) | |
|
Compares the current Value with another Char and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Char. (Inherited from Value.) | |
|
Compares the current Value with another DateTime and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other DateTime. (Inherited from Value.) | |
|
Compares the current Value with another Decimal value and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Decimal value. (Inherited from Value.) | |
|
Compares the current Value with another Double-precision floating-point number and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Double-precision floating-point number. (Inherited from Value.) | |
|
Compares the current Value with another Int16 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Int16. (Inherited from Value.) | |
|
Compares the current Value with another Int32 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Int32. (Inherited from Value.) | |
|
Compares the current Value with another Int64 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Int64. (Inherited from Value.) | |
|
Compares the current Value with another SByte and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other SByte. (Inherited from Value.) | |
|
Compares the current Value with another Single-precision floating-point number and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Single-precision floating-point number. (Inherited from Value.) | |
|
Compares the current Value with another String and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other String. (Inherited from Value.) | |
|
Compares the current Value with another TimeSpan and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other TimeSpan. (Inherited from Value.) | |
|
Compares the current Value with another UInt16 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other UInt16. (Inherited from Value.) | |
|
Compares the current Value with another UInt32 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other UInt32. (Inherited from Value.) | |
|
Compares the current Value with another UInt64 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other UInt64. (Inherited from Value.) | |
|
Compares the current Value with another Access and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Access. (Inherited from Value.) | |
|
Compares the current Value with another Alarm and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Alarm. (Inherited from Value.) | |
|
Compares the current Value with another Event and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Event. (Inherited from Value.) | |
|
Compares the current Value with another Message and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Message. (Inherited from Value.) | |
|
Compares the current Value with another Severity and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Severity. (Inherited from Value.) | |
|
Compares the current Value with another Value and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Value. (Inherited from Value.) | |
|
Determines whether the Value contains the specified KeyValuePair.TKey, TValue.. (Inherited from Value.) | |
|
Determines whether the Value contains the specified Value. (Inherited from Value.) | |
|
Determines whether the Value contains a Value with the specified key. (Inherited from Value.) | |
|
Copies the KeyValuePair.TKey, TValue.s of the Value to the specified Array, starting at the specified index. (Inherited from Value.) | |
|
Copies the Values of the Value to the specified Array, starting at the specified index. (Inherited from Value.) | |
|
Creates a new object that is a deep copy of the current Value. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Boolean value. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Byte. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Array of Bytes. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Char. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another DateTime. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Decimal value. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Double-precision floating-point number. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Int16. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Int32. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Int64. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another SByte. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Single-precision floating-point number. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another String. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another TimeSpan. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another UInt16. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another UInt32. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another UInt64. (Inherited from Value.) | |
|
Determines whether the specified Object is equal to the current JsonSchemaValue. (Inherited from JsonSchemaValue.) | |
|
Indicates whether the current Value is equal to another Access. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Alarm. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Event. (Inherited from Value.) | |
|
Indicates whether the current JsonSchemaValue is equal to another JsonSchemaValue. (Inherited from JsonSchemaValue.) | |
|
Indicates whether the current JsonValue is equal to another JsonValue. (Inherited from JsonValue.) | |
|
Indicates whether the current Value is equal to another Message. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Severity. (Inherited from Value.) | |
|
Indicates whether the current Value is equal to another Value. (Inherited from Value.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| ||
| ||
|
Gets the Boolean value of the Value. (Inherited from Value.) | |
|
Gets the Boolean value of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
| ||
| ||
| ||
| ||
|
Gets the DateTime of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
|
Gets the Decimal value of the Value. (Inherited from Value.) | |
|
Gets the Double-precision floating-point number of the Value. (Inherited from Value.) | |
|
Gets the Double-precision floating-point number of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
| ||
|
Serves as the default hash function. (Inherited from JsonSchemaValue.) | |
|
Gets the Int16 integer of the Value. (Inherited from Value.) | |
| ||
|
Gets the Int32 of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
|
Gets the Int64 integer of the Value. (Inherited from Value.) | |
|
Gets the Int64 integer of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
| ||
| ||
| ||
|
Gets the Single-precision floating-point number of the Value. (Inherited from Value.) | |
| ||
|
Gets the String of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
| ||
|
Gets the TimeSpan of the Value, using the specified culture-specific formatting information. (Inherited from Value.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
| ||
|
Gets the UInt16 integer of the Value. (Inherited from Value.) | |
| ||
|
Gets the UInt64 integer of the Value. (Inherited from Value.) | |
|
Determines the index of the specified Value in the Value. (Inherited from Value.) | |
|
Inserts a Value to the Value at the specified index. (Inherited from Value.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Removes the first occurrence of the specified KeyValuePair.TKey, TValue. from the Value. (Inherited from Value.) | |
|
Removes the Value with the specified key from the Value. (Inherited from Value.) | |
|
Removes the first occurrence of the specified Value from the Value. (Inherited from Value.) | |
|
Removes the Value at the specified index. (Inherited from Value.) | |
|
Removes a range of Values from the Value. (Inherited from Value.) | |
|
Sets the Boolean value of the Value. (Inherited from Value.) | |
| ||
| ||
| ||
| ||
|
Gets the Decimal value of the Value. (Inherited from Value.) | |
|
Gets the Double-precision floating-point number of the Value. (Inherited from Value.) | |
|
Gets the Int16 integer of the Value. (Inherited from Value.) | |
| ||
|
Gets the Int64 integer of the Value. (Inherited from Value.) | |
| ||
|
Gets the Single-precision floating-point number of the Value. (Inherited from Value.) | |
| ||
| ||
|
Gets the UInt16 integer of the Value. (Inherited from Value.) | |
| ||
|
Gets the UInt64 integer of the Value. (Inherited from Value.) | |
| ||
| ||
| ||
| ||
| ||
|
Creates a new Value that is a shallow copy of the current Value. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Access. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Alarm. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Array. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Boolean. (Inherited from Value.) | |
|
Converts the Value to an equivalent Boolean value using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Byte. (Inherited from Value.) | |
|
Converts the Value to an equivalent Byte using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate array of Bytes. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Char. (Inherited from Value.) | |
|
Converts the Value to an equivalent Char using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate instance of the DateTime class. (Inherited from Value.) | |
|
Converts the Value to an equivalent DateTime using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Decimal. (Inherited from Value.) | |
|
Converts the Value to an equivalent Decimal value using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Double-precision floating-point number. (Inherited from Value.) | |
|
Converts the Value to an equivalent Double-precision floating-point number using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Event. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Int16. (Inherited from Value.) | |
|
Converts the Value to an equivalent Int16 integer using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Int32. (Inherited from Value.) | |
|
Converts the Value to an equivalent Int32 using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Int64. (Inherited from Value.) | |
|
Converts the Value to an equivalent Int64 integer using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Message. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate SByte. (Inherited from Value.) | |
|
Converts the Value to an equivalent SByte using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Severity. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate Single-precision floating-point number. (Inherited from Value.) | |
|
Converts the Value to an equivalent Single-precision floating-point number using the specified IFormatProvider. (Inherited from Value.) | |
|
Returns a String that represents the current Value. (Inherited from JsonSchemaValue.) | |
|
Converts the Value to an equivalent String using the specified IFormatProvider. (Inherited from Value.) | |
|
Returns a String that represents the current JsonSchemaValue. (Inherited from JsonSchemaValue.) | |
|
Converts this instance of the Value class to the appropriate instance of the TimeSpan class. (Inherited from Value.) | |
|
Converts the Value to an equivalent Object of the specified Type using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate UInt16. (Inherited from Value.) | |
|
Converts the Value to an equivalent UInt16 integer using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate UInt32. (Inherited from Value.) | |
|
Converts the Value to an equivalent UInt32 using the specified IFormatProvider. (Inherited from Value.) | |
|
Converts this instance of the Value class to the appropriate UInt64. (Inherited from Value.) | |
|
Converts the Value to an equivalent UInt64 integer using the specified IFormatProvider. (Inherited from Value.) | |
|
Returns a Value that represents the current JsonValue. (Inherited from JsonValue.) | |
|
Returns a Value that represents the current JsonSchemaValue. (Inherited from JsonSchemaValue.) | |
|
Gets the Value associated with the specified key. (Inherited from Value.) |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Resolves the current Value by the specified Queue.T. of elements. (Defined by ValueExtensions.) | |
|
Overloaded. Resolves the current Value by the specified path. (Defined by ValueExtensions.) | |
|
Overloaded. Returns an unformatted JSON String that represents the current Value. (Defined by ValueExtensions.) | |
|
Overloaded. Returns an unformatted JSON String that represents the current Value. (Defined by ValueExtensions.) | |
|
Overloaded. Returns a JSON String that represents the current Value. (Defined by ValueExtensions.) | |
|
Returns a JsonValue that contains an unformatted JSON String representing the current Value. (Defined by ValueExtensions.) | |
|
Overloaded. Resolves the current Value by the specified Queue.T. of elements. A return value indicates whether resolving succeeded. (Defined by ValueExtensions.) | |
|
Overloaded. Resolves the current Value by the specified Queue.T. of elements. A return value indicates whether resolving succeeded. (Defined by ValueExtensions.) |