Show / Hide Table of Contents

Class DataPair

Represents a generic way to provide information about arbitrary data.

Inheritance
Object
DataPair
DataPair<T>
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class DataPair

Constructors

| Improve this Doc View Source

DataPair(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 Source

HasValue

Gets a value indicating whether Value is not null.

Declaration
public bool HasValue { get; }
Property Value
Type Description
Boolean

true if Value is not null; otherwise, false.

| Improve this Doc View Source

Name

Gets the name of the data pair.

Declaration
public string Name { get; }
Property Value
Type Description
String

The name of the data pair.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

ToString()

Returns a String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
String

A String that represents this instance.

Overrides
Object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX