Google.Protobuf.Reflection.OriginalNameAttribute

Specifies the original name (in the .proto file) of a named element, such as an enum value.

Summary

Inheritance

Inherits from: Attribute

Constructors and Destructors

OriginalNameAttribute(string name)
Constructs a new attribute instance for the given name.

Properties

Name
string
The name of the element in the .proto file.

Properties

Name

string Name

The name of the element in the .proto file.

Public functions

OriginalNameAttribute

 OriginalNameAttribute(
  string name
)

Constructs a new attribute instance for the given name.

Details
Parameters
name
The name of the element in the .proto file.