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
Fields
Type
The type of this class, used for runtime type checking.
public static Type Type
Field Value
Properties
A
First component of the pair (A).
public string A { get; set; }
Property Value
B
Second component of the pair (B).
public object B { get; set; }
Property Value
Methods
Get(string, object)
Creates a new ABString from a string key and a value.
public static ABString Get(string firstValue, object secondValue)
Parameters
Returns
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
typeTypeThe type whose full name becomes the first component.
secondValueobjectThe second component (value).
Returns
ToString()
Returns a string representation in the format "A:B".
public override string ToString()