Space Engineers
Public Member Functions | Properties | List of all members
ProtoBuf.Serializers.ListDecorator Class Reference
Inheritance diagram for ProtoBuf.Serializers.ListDecorator:
ProtoBuf.Serializers.ProtoDecoratorBase ProtoBuf.Serializers.IProtoSerializer

Public Member Functions

 ListDecorator (TypeModel model, Type declaredType, Type concreteType, IProtoSerializer tail, int fieldNumber, bool writePacked, WireType packedWireType, bool returnList, bool overwriteList, bool supportNull)
 
override void Write (object value, ProtoWriter dest)
 Perform the steps necessary to serialize this data. More...
 
override object Read (object value, ProtoReader source)
 Perform the steps necessary to deserialize this data. More...
 

Properties

override Type ExpectedType [get]
 
override bool RequiresOldValue [get]
 
override bool ReturnsValue [get]
 
- Properties inherited from ProtoBuf.Serializers.ProtoDecoratorBase
abstract Type ExpectedType [get]
 
abstract bool ReturnsValue [get]
 
abstract bool RequiresOldValue [get]
 
- Properties inherited from ProtoBuf.Serializers.IProtoSerializer
Type ExpectedType [get]
 The type that this serializer is intended to work for. More...
 
bool RequiresOldValue [get]
 Indicates whether a Read operation replaces the existing value, or extends the value. If false, the "value" parameter to Read is discarded, and should be passed in as null. More...
 
bool ReturnsValue [get]
 Now all Read operations return a value (although most do); if false no value should be expected. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ProtoBuf.Serializers.ProtoDecoratorBase
 ProtoDecoratorBase (IProtoSerializer tail)
 
- Protected Attributes inherited from ProtoBuf.Serializers.ProtoDecoratorBase
readonly IProtoSerializer Tail
 

Detailed Description

Definition at line 16 of file ListDecorator.cs.

Constructor & Destructor Documentation

ProtoBuf.Serializers.ListDecorator.ListDecorator ( TypeModel  model,
Type  declaredType,
Type  concreteType,
IProtoSerializer  tail,
int  fieldNumber,
bool  writePacked,
WireType  packedWireType,
bool  returnList,
bool  overwriteList,
bool  supportNull 
)
inline

Definition at line 53 of file ListDecorator.cs.

Member Function Documentation

override object ProtoBuf.Serializers.ListDecorator.Read ( object  value,
ProtoReader  source 
)
inlinevirtual

Perform the steps necessary to deserialize this data.

Parameters
valueThe current value, if appropriate.
sourceThe reader providing the input data.
Returns
The updated / replacement value.

Implements ProtoBuf.Serializers.ProtoDecoratorBase.

Definition at line 467 of file ListDecorator.cs.

override void ProtoBuf.Serializers.ListDecorator.Write ( object  value,
ProtoWriter  dest 
)
inlinevirtual

Perform the steps necessary to serialize this data.

Parameters
valueThe value to be serialized.
destThe writer entity that is accumulating the output data.

Implements ProtoBuf.Serializers.ProtoDecoratorBase.

Definition at line 442 of file ListDecorator.cs.

Property Documentation

override Type ProtoBuf.Serializers.ListDecorator.ExpectedType
get

Definition at line 89 of file ListDecorator.cs.

override bool ProtoBuf.Serializers.ListDecorator.RequiresOldValue
get

Definition at line 90 of file ListDecorator.cs.

override bool ProtoBuf.Serializers.ListDecorator.ReturnsValue
get

Definition at line 91 of file ListDecorator.cs.


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