Table of Contents

Class ABString

Namespace
SunamoString._public.SunamoData.Data
Assembly
SunamoString.dll

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

public class ABString
Inheritance
ABString
Inherited Members
Extension Methods

Constructors

ABString(string, object)

Initializes a new instance of the ABString class.

public ABString(string firstValue, object secondValue)

Parameters

firstValue string

The first component (key).

secondValue object

The second component (value).

Fields

Type

The type of this class, used for runtime type checking.

public static Type Type

Field Value

Type

Properties

A

First component of the pair (A).

public string A { get; set; }

Property Value

string

B

Second component of the pair (B).

public object B { get; set; }

Property Value

object

Methods

Get(string, object)

Creates a new ABString from a string key and a value.

public static ABString Get(string firstValue, object secondValue)

Parameters

firstValue string

The first component (key).

secondValue object

The second component (value).

Returns

ABString

Get(Type, object)

Creates a new ABString from a type's full name and a value.

public static ABString Get(Type type, object secondValue)

Parameters

type Type

The type whose full name becomes the first component.

secondValue object

The second component (value).

Returns

ABString

ToString()

Returns a string representation in the format "A:B".

public override string ToString()

Returns

string