C# Class ProtocolBuffers.Field

Show file Open project: enyim/ProtoBuf Class Usage Examples

Public Properties

Property Type Description
Comments string
OptionAccess string
OptionCodeType string
OptionDefault string
OptionDeprecated bool
OptionGenerate bool
OptionPacked bool

Public Methods

Method Description
ToString ( ) : string

Method Details

ToString() public method

public ToString ( ) : string
return string

Property Details

Comments public property

public string Comments
return string

OptionAccess public property

Define the access of the field: public, protected, private or internal
public string OptionAccess
return string

OptionCodeType public property

Define the type of the property that is not a primitive or class derived from a message.

This can be one of the build in (see method MessageCode.GenerateFieldTypeWriter()) or a custom class that implements the static Serialize and Deserialize functions;

public string OptionCodeType
return string

OptionDefault public property

public string OptionDefault
return string

OptionDeprecated public property

public bool OptionDeprecated
return bool

OptionGenerate public property

Generate property in class, if not it is expected to already be defined elsewhere.
public bool OptionGenerate
return bool

OptionPacked public property

public bool OptionPacked
return bool