NodeContent.CreateDelayedWriteContent Method
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.Common.dll (version 7.0.9147)
CreateDelayedWriteContent(Stream)
Method creates read/delayed write content from the given stream. Use this method when following is desired/acceptable behavior:
- Underlying stream does not support immediate writing to the file.
- When Node
Content previously returned from this method is disposed and underlying stream has been changed, then the method Rebex.IO. in the ReadFile System. Read Write File System Provider. Save Content Write is called.File System Provider
Following events are raised in the File
Declaration
public static NodeContent CreateDelayedWriteContent(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
Stream | stream | Stream containing the content of the node. |
Returns
Type | Description |
---|---|
Node |
New read/delayed write content. |