Class WritingDataSource
- Namespace
- ChartTools.IO.Sources
- Assembly
- ChartTools.dll
public class WritingDataSource : DataSource, IDisposable
- Inheritance
-
WritingDataSource
- Implements
- Inherited Members
- Extension Methods
Constructors
WritingDataSource(Stream, ReadingDataSource?)
public WritingDataSource(Stream stream, ReadingDataSource? existing = null)
Parameters
stream
Streamexisting
ReadingDataSource
WritingDataSource(string, ReadingDataSource?)
public WritingDataSource(string path, ReadingDataSource? existing = null)
Parameters
path
stringexisting
ReadingDataSource
Properties
Existing
public ReadingDataSource? Existing { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()
Operators
implicit operator WritingDataSource(Stream)
Creates a WritingDataSource from a Stream as a target and source of existing data.
public static implicit operator WritingDataSource(Stream stream)
Parameters
stream
StreamStream to create from
Returns
implicit operator WritingDataSource(string)
Creates a WritingDataSource from a file path as a target and source of existing data.
public static implicit operator WritingDataSource(string path)
Parameters
path
stringPath to create from