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 Doc View SourceDataPair(String, Object, Type)
Initializes a new instance of the DataPair class.
Declaration
public DataPair(string name, object value, Type typeOf)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the data pair. |
Object | value | The value of the data pair. |
Type | typeOf | The type of the data pair. |
Properties
| Improve this Doc View SourceHasValue
Gets a value indicating whether Value is not null.
Declaration
public bool HasValue { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Name
Gets the name of the data pair.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
Object | The value of the data pair. |
Methods
| Improve this Doc View SourceToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |