Class ISN_NSKeyValueObject
The Key Value Object record representation.
Inheritance
Inherited Members
Namespace: SA.iOS.Foundation
Assembly: cs.temp.dll.dll
Syntax
public class ISN_NSKeyValueObject
Properties
BoolValue
Returns bool representation of the value.
Declaration
public bool BoolValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
BytesArrayValue
Returns Bytes array representation of the value.
Declaration
public byte[] BytesArrayValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Byte[] |
DateTimeValue
Returns DateTime representation of the value.
Declaration
public DateTime DateTimeValue { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
FloatValue
Returns float representation of the value.
Declaration
public float FloatValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
IntValue
Returns int representation of the value.
Declaration
public int IntValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Key
Gets or sets the key of the Pair.
Declaration
public string Key { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
LongValue
Returns long representation of the value.
Declaration
public long LongValue { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
StringValue
Returns string representation of the value.
Declaration
public string StringValue { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ULongValue
Returns ulong representation of the value.
Declaration
public ulong ULongValue { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
Methods
GetObject<T>()
Create an object from its JSON representation. Internally, this method uses the Unity serializer; therefore the type you are creating must be supported by the serializer. It must be a plain class/struct marked with the Serializable attribute.Fields of the object must have types supported by the serializer. Fields that have unsupported types, as well as private fields or fields marked with the NonSerialized attribute, will be ignored.
Declaration
public T GetObject<T>()
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |