Class DataStreamSupporter
The data stream container.
public abstract class DataStreamSupporter : DisposableObject, IDisposable
- Inheritance
-
DataStreamSupporter
- Implements
- Derived
- Inherited Members
Constructors
- DataStreamSupporter()
Initializes a new instance of the DataStreamSupporter class.
Fields
- Timeout
The timeout to wait for synchronization
Properties
- DataStreamContainer
Gets the object's data stream.
- IsCached
Gets a value indicating whether object's data is cached currently and no data reading is required.
Methods
- CacheData()
Caches the data and ensures no additional data loading will be performed from the underlying DataStreamContainer.
- DoAfterSave(Stream)
Does the after save.
- OnDataStreamContainerChanging(StreamContainer)
Called when data stream container is changing.
- ReleaseManagedResources()
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
- Save()
Saves the object's data to the current DataStreamSupporter.
- Save(Stream)
Saves the object's data to the specified stream.
- Save(string)
Saves the object's data to the specified file location.
- Save(string, bool)
Saves the object's data to the specified file location.
- SaveData(Stream)
Saves the data.