Class KeyValuePair
KeyValuePair model
Inherited Members
Namespace: Unity.Services.Relay.Models
Assembly: Unity.Services.Multiplayer.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
Parameter key of KeyValuePair
Declaration
[Preserve]
[DataMember(Name = "key", IsRequired = true, EmitDefaultValue = true)]
public string Key { get; }
Property Value
Type | Description |
---|---|
string |
Value
Parameter value of KeyValuePair
Declaration
[Preserve]
[DataMember(Name = "value", IsRequired = true, EmitDefaultValue = true)]
public string Value { get; }
Property Value
Type | Description |
---|---|
string |