Show / Hide Table of Contents

Interface IOwnedDataSerializable

Allows a class to save/retrieve their internal data to/from an existing SerializationWriter/SerializationReader.

Namespace: SuperOffice.IO
Assembly: SoCore.dll
Syntax
public interface IOwnedDataSerializable

Methods

DeserializeOwnedData(SerializationReader, object)

Lets the implementing class retrieve internal data directly from a SerializationReader.

Declaration
void DeserializeOwnedData(SerializationReader reader, object context)
Parameters
Type Name Description
SerializationReader reader

The SerializationReader to use

object context

Optional context to use as a hint as to what to retrieve (BitVector32 is useful)

SerializeOwnedData(SerializationWriter, object)

Lets the implementing class store internal data directly into a SerializationWriter.

Declaration
void SerializeOwnedData(SerializationWriter writer, object context)
Parameters
Type Name Description
SerializationWriter writer

The SerializationWriter to use

object context

Optional context to use as a hint as to what to store (BitVector32 is useful)

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top