Class KeyValuePair

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll

Order preserving KeyValuePair

public sealed class KeyValuePair : IMessage<KeyValuePair>, IEquatable<KeyValuePair>, IDeepCloneable<KeyValuePair>, IBufferMessage, IMessage
Inheritance
KeyValuePair
Implements
IMessage<KeyValuePair>
IDeepCloneable<KeyValuePair>
IBufferMessage
IMessage
Inherited Members

Constructors

KeyValuePair()

public KeyValuePair()

KeyValuePair(KeyValuePair)

public KeyValuePair(KeyValuePair other)

Parameters

other KeyValuePair

Fields

KeyFieldNumber

Field number for the "key" field.

public const int KeyFieldNumber = 1

Field Value

int

ValueFieldNumber

Field number for the "value" field.

public const int ValueFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Key

public string Key { get; set; }

Property Value

string

Parser

public static MessageParser<KeyValuePair> Parser { get; }

Property Value

MessageParser<KeyValuePair>

Value

public AnyValue Value { get; set; }

Property Value

AnyValue

Methods

CalculateSize()

public int CalculateSize()

Returns

int

Clone()

public KeyValuePair Clone()

Returns

KeyValuePair

Equals(KeyValuePair)

public bool Equals(KeyValuePair other)

Parameters

other KeyValuePair

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(KeyValuePair)

public void MergeFrom(KeyValuePair other)

Parameters

other KeyValuePair

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream