LicenseField

Namespace: Babel.Licensing.Service.Management Assembly: Babel.Licensing.dll

public sealed class LicenseField : IMessage<LicenseField>, IEquatable<LicenseField>, IDeepCloneable<LicenseField>, IBufferMessage, IMessage

Inheritance

objectLicenseField

Implements

IMessage<LicenseField>, IEquatable<LicenseField>, IDeepCloneable<LicenseField>, IBufferMessage, IMessage

Inherited Members

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

LicenseField()

public LicenseField()

LicenseField(LicenseField)

public LicenseField(LicenseField other)

Parameters

NameDescription

Fields

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 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

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<LicenseField> Parser { get; }

Property Value

MessageParser<LicenseField>

Value

public string Value { get; set; }

Property Value

string

Methods

CalculateSize()

public int CalculateSize()

Returns

NameDescription

Clone()

public LicenseField Clone()

Returns

NameDescription

Equals(object)

public override bool Equals(object other)

Parameters

NameDescription

other object

Returns

NameDescription

Equals(LicenseField)

public bool Equals(LicenseField other)

Parameters

NameDescription

Returns

NameDescription

GetHashCode()

public override int GetHashCode()

Returns

NameDescription

MergeFrom(LicenseField)

public void MergeFrom(LicenseField other)

Parameters

NameDescription

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

NameDescription

input CodedInputStream

ToString()

public override string ToString()

Returns

NameDescription

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

NameDescription

output CodedOutputStream

Last updated