Class ContentFileStream
Default IContentFileStream implementation that owns and disposes of a content file stream.
Namespace: Tableau.Migration.Content.Files
Assembly: Tableau.Migration.dll
Syntax
public class ContentFileStream : IContentFileStream, IAsyncDisposable
Constructors
ContentFileStream(Stream)
Creates a new ContentFileStream object.
Declaration
public ContentFileStream(Stream content)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | content | The content stream to take ownership of. |
Properties
Content
Gets the stream to read file content from or write file content to.
Declaration
public Stream Content { get; }
Property Value
| Type | Description |
|---|---|
| Stream |
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
Declaration
public virtual ValueTask DisposeAsync()
Returns
| Type | Description |
|---|---|
| ValueTask | A task that represents the asynchronous dispose operation. |