Table of Contents

Class DataPair

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Represents a generic way to provide information about arbitrary data.

public class DataPair
Inheritance
Object
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 String

The name of the data pair.

value Object

The value of the data pair.

typeOf Type

The type of the data pair.

Properties

HasValue

Gets a value indicating whether Value is not null.

public bool HasValue { get; }

Property Value

Boolean

true if Value is not null; otherwise, false.

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 System.String that represents this instance.

public override string ToString()

Returns

String

A System.String that represents this instance.