Class DataPair
Represents a generic way to provide information about arbitrary data.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class DataPair
Constructors
| Improve this DocDataPair(String, Object, Type)
Initializes a new instance of the DataPair class.
Declaration
public DataPair(string name, object value, Type typeOf)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the data pair. |
System.Object | value | The value of the data pair. |
System.Type | typeOf | The type of the data pair. |
Properties
| Improve this DocHasValue
Gets a value indicating whether Value is not null.
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Name
Gets the name of the data pair.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the data pair. |
Type
Gets the type of the data pair value.
Declaration
public Type Type { get; protected set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the data pair value. |
Value
Gets the value of the data pair.
Declaration
public object Value { get; }
Property Value
Type | Description |
---|---|
System.Object | The value of the data pair. |
Methods
| Improve this DocToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()