Class Extension
Represents a non-generic extension definition. This API is experimental and subject to change.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Protobuf
Assembly: Google.Protobuf.dll
Syntax
public abstract class Extension
Constructors
Extension(Int32)
Internal use. Creates a new extension with the specified field number.
Declaration
protected Extension(int fieldNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | fieldNumber |
Properties
FieldNumber
Gets the field number of this extension
Declaration
public int FieldNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |