Class Extension

Stay organized with collections Save and categorize content based on your preferences.
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
TypeNameDescription
Int32fieldNumber

Properties

FieldNumber

public int FieldNumber { get; }

Gets the field number of this extension

Property Value
TypeDescription
Int32