Class DataStreamSupporter

DataStreamSupporter class

The data stream container.

public abstract class DataStreamSupporter : DisposableObject

Properties

NameDescription
DataStreamContainer { get; }Gets the object’s data stream.
Disposed { get; }Gets a value indicating whether this instance is disposed.
abstract IsCached { get; }Gets a value indicating whether object’s data is cached currently and no data reading is required.

Methods

NameDescription
abstract CacheData()Caches the data and ensures no additional data loading will be performed from the underlying DataStreamContainer.
Dispose()Disposes the current instance.
virtual Save()Saves the object’s data to the current DataStreamSupporter.
Save(Stream)Saves the object’s data to the specified stream.
virtual Save(string)Saves the object’s data to the specified file location.
virtual Save(string, bool)Saves the object’s data to the specified file location.

See Also