Table of Contents

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 Stream
existing ReadingDataSource

WritingDataSource(string, ReadingDataSource?)

public WritingDataSource(string path, ReadingDataSource? existing = null)

Parameters

path string
existing ReadingDataSource

Properties

Existing

public ReadingDataSource? Existing { get; }

Property Value

ReadingDataSource

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 Stream

Stream to create from

Returns

WritingDataSource

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 string

Path to create from

Returns

WritingDataSource