Indicates the known-types to support for an individual message. This serializes each level in the hierarchy as a nested message to retain wire-compatibility with other protocol-buffer implementations.
More...
|
int | Tag [get] |
| Gets the unique index (within the type) that will identify this data. More...
|
|
string | KnownTypeName [get] |
| Gets the additional type to serialize/deserialize. More...
|
|
Type | KnownType [get] |
| Gets the additional type to serialize/deserialize. More...
|
|
DataFormat | DataFormat [get, set] |
| Specifies whether the inherited sype's sub-message should be written with a length-prefix (default), or with group markers. More...
|
|
Indicates the known-types to support for an individual message. This serializes each level in the hierarchy as a nested message to retain wire-compatibility with other protocol-buffer implementations.
Definition at line 21 of file ProtoIncludeAttribute.cs.
ProtoBuf.ProtoIncludeAttribute.ProtoIncludeAttribute |
( |
int |
tag, |
|
|
System.Type |
knownType |
|
) |
| |
|
inline |
Creates a new instance of the ProtoIncludeAttribute.
- Parameters
-
tag | The unique index (within the type) that will identify this data. |
knownType | The additional type to serialize/deserialize. |
Definition at line 28 of file ProtoIncludeAttribute.cs.
ProtoBuf.ProtoIncludeAttribute.ProtoIncludeAttribute |
( |
int |
tag, |
|
|
string |
knownTypeName |
|
) |
| |
|
inline |
Creates a new instance of the ProtoIncludeAttribute.
- Parameters
-
tag | The unique index (within the type) that will identify this data. |
knownTypeName | The additional type to serialize/deserialize. |
Definition at line 36 of file ProtoIncludeAttribute.cs.
DataFormat ProtoBuf.ProtoIncludeAttribute.DataFormat |
|
getset |
Specifies whether the inherited sype's sub-message should be written with a length-prefix (default), or with group markers.
Definition at line 73 of file ProtoIncludeAttribute.cs.
Type ProtoBuf.ProtoIncludeAttribute.KnownType |
|
get |
string ProtoBuf.ProtoIncludeAttribute.KnownTypeName |
|
get |
int ProtoBuf.ProtoIncludeAttribute.Tag |
|
get |
The documentation for this class was generated from the following file: