Skip to main content

IRtDeserializeStream

Namespace: Meshmakers.Octo.Runtime.Contracts.Serialization

Interface of a stream that contains deserialized data.

public interface IRtDeserializeStream : IDisposable

Implements IDisposable

Properties

Dependencies

Returns dependencies of the model.

public abstract IReadOnlyCollection<CkModelId> Dependencies { get; }

Property Value

IReadOnlyCollection<CkModelId>

Methods

ReadAsync(Nullable<CancellationToken>)

Reads the entities array of the stream and returns the entities as event in IRtDeserializeStream.BulkDeserialized.

Task ReadAsync(Nullable<CancellationToken> cancellationToken)

Parameters

cancellationToken Nullable<CancellationToken>

Returns

Task

Events

BulkDeserialized

Indicates that a bulk of entities has been deserialized.

public abstract event EventHandler<RtDeserializeEventArgs> BulkDeserialized;