Class Extension (3.15.8)

public abstract class Extension : object

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(Int32)

protected Extension(int fieldNumber)

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

Parameter
NameDescription
fieldNumberInt32

Properties

FieldNumber

public int FieldNumber { get; }

Gets the field number of this extension

Property Value
TypeDescription
Int32