Class DataPair
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Represents a generic way to provide information about arbitrary data.
public class DataPair
- Inheritance
-
DataPair
- Derived
Constructors
DataPair(String, Object, Type)
Initializes a new instance of the DataPair class.
public DataPair(string name, object value, Type typeOf)
Parameters
name
StringThe name of the data pair.
value
ObjectThe value of the data pair.
typeOf
TypeThe type of the data pair.
Properties
HasValue
Gets a value indicating whether Value is not null.
public bool HasValue { get; }
Property Value
Name
Gets the name of the data pair.
public string Name { get; }
Property Value
- String
The name of the data pair.
Type
Gets the type of the data pair value.
public Type Type { get; protected set; }
Property Value
- Type
The type of the data pair value.
Value
Gets the value of the data pair.
public object Value { get; }
Property Value
- Object
The value of the data pair.
Methods
ToString()
Returns a String that represents this instance.
public override string ToString()