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. Supports version ranges.

public abstract IReadOnlyCollection<CkModelIdVersionRange> Dependencies { get; }

Property Value​

IReadOnlyCollection<CkModelIdVersionRange>

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;