Space Engineers
Public Member Functions | Properties | List of all members
ProtoBuf.ProtoIncludeAttribute Class Reference

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...

Inheritance diagram for ProtoBuf.ProtoIncludeAttribute:

Public Member Functions

 ProtoIncludeAttribute (int tag, System.Type knownType)
 Creates a new instance of the ProtoIncludeAttribute. More...
 
 ProtoIncludeAttribute (int tag, string knownTypeName)
 Creates a new instance of the ProtoIncludeAttribute. More...
 

Properties

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

ProtoBuf.ProtoIncludeAttribute.ProtoIncludeAttribute ( int  tag,
System.Type  knownType 
)
inline

Creates a new instance of the ProtoIncludeAttribute.

Parameters
tagThe unique index (within the type) that will identify this data.
knownTypeThe 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
tagThe unique index (within the type) that will identify this data.
knownTypeNameThe additional type to serialize/deserialize.

Definition at line 36 of file ProtoIncludeAttribute.cs.

Property Documentation

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

Gets the additional type to serialize/deserialize.

Definition at line 60 of file ProtoIncludeAttribute.cs.

string ProtoBuf.ProtoIncludeAttribute.KnownTypeName
get

Gets the additional type to serialize/deserialize.

Definition at line 53 of file ProtoIncludeAttribute.cs.

int ProtoBuf.ProtoIncludeAttribute.Tag
get

Gets the unique index (within the type) that will identify this data.

Definition at line 47 of file ProtoIncludeAttribute.cs.


The documentation for this class was generated from the following file: