Class KeyValuePair
KeyValuePair model
Inherited Members
Namespace: Unity.Services.Multiplay.Models
Assembly: Unity.Services.Multiplayer.Multiplay.dll
Syntax
[Preserve]
[DataContract(Name = "KeyValuePair")]
public class KeyValuePair
Constructors
KeyValuePair(string, string)
Creates an instance of KeyValuePair.
Declaration
[Preserve]
public KeyValuePair(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
string | key | key param |
string | value | value param |
Properties
Key
Declaration
[Preserve]
[DataMember(Name = "key", IsRequired = true, EmitDefaultValue = true)]
public string Key { get; }
Property Value
Type | Description |
---|---|
string |
Value
Declaration
[Preserve]
[DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
public string Value { get; }
Property Value
Type | Description |
---|---|
string |