NodeContent.CreateImmediateWriteContent Method
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.Common.dll (version 7.0.9448)
CreateImmediateWriteContent(Stream)
Method creates read/immediate write content from the given stream. Use this method when following is desired/acceptable behavior:
- Stream supports immediate writing to the file (e. g. FileStream).
- SaveContent method in ReadWriteFileSystemProvider is NEVER called. All data are written immediately using the suitable
streamwrite methods.
Following events are NOT raised in the FileSystemNotifier:
Declaration
public static NodeContent CreateImmediateWriteContent(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream containing the content of the node. |
Returns
| Type | Description |
|---|---|
| NodeContent | New read/immediate write content. |