Table of Contents

Class AB

Namespace
SunamoData.Data
Assembly
SunamoData.dll

Represents a key-value pair where the key is a string and the value is an object.

public class AB
Inheritance
AB
Inherited Members
Extension Methods

Constructors

AB(string, object)

Initializes a new instance of the AB class.

public AB(string key, object value)

Parameters

key string

The key.

value object

The value.

Properties

Key

Gets or sets the key.

public string Key { get; set; }

Property Value

string

Type

Gets the type of this class.

public static Type Type { get; }

Property Value

Type

Value

Gets or sets the value.

public object Value { get; set; }

Property Value

object

Methods

Get(string, object)

Creates a new AB instance with the specified key and value.

public static AB Get(string key, object value)

Parameters

key string

The key.

value object

The value.

Returns

AB

A new AB instance.

Get(Type, object)

Creates a new AB instance using a type's full name as the key.

public static AB Get(Type type, object value)

Parameters

type Type

The type whose full name will be used as the key.

value object

The value.

Returns

AB

A new AB instance.

ToString()

Returns a string that represents the current object in "Key:Value" format.

public override string ToString()

Returns

string

A string representation of the key-value pair.