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
Properties
Key
Gets or sets the key.
public string Key { get; set; }
Property Value
Type
Gets the type of this class.
public static Type Type { get; }
Property Value
Value
Gets or sets the value.
public object Value { get; set; }
Property Value
Methods
Get(string, object)
Creates a new AB instance with the specified key and value.
public static AB Get(string key, object value)
Parameters
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
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.