Class Extension (3.23.0)

public abstract class Extension

Represents a non-generic extension definition. This API is experimental and subject to change.

Inheritance

object > Extension

Namespace

Google.Protobuf

Assembly

Google.Protobuf.dll

Constructors

Extension(int)

protected Extension(int fieldNumber)

Internal use. Creates a new extension with the specified field number.

Parameter
NameDescription
fieldNumberint

Properties

FieldNumber

public int FieldNumber { get; }

Gets the field number of this extension

Property Value
TypeDescription
int