You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

Serialize Method

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · Archived documentation

Serializes a State to a Stream.

Namespace: Aurigma.DesignAtoms.Serialization
Assembly: Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)

Syntax

C#
void Serialize(
	State state,
	Stream outStream,
	ISerializableStorage resourceStorage,
	bool convertUrlSourcesToStorage
)

Parameters

state

Type: Aurigma.DesignAtoms.Model.State

The State object to serialize.
outStream

Type: System.IO.Stream

The output stream for the serialized State.
resourceStorage

Type: ISerializableStorage

The storage. By default, this value is null, and the state is stored in the default state folder.
convertUrlSourcesToStorage

Type: System.Boolean

The default value is false.

See Also

Reference