ReadOnlyFileSystemProvider.Content Method
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.FileSystem.dll (version 7.0.9313)
Content(Stream)
Creates a new instance of NodeContent with the underlying contentStream.
Instances of ReadOnlyFileSystemProvider create new NodeContent using the CreateReadOnlyContent(Stream) method.
Instances of ReadWriteFileSystemProvider create new NodeContent using the CreateDelayedWriteContent(Stream) method.
When the virtual file system is used in the FileServer component, the server session, which contains information about the user and the active connection, can be accessed using Current property.
Declaration
protected NodeContent Content(Stream contentStream)
Parameters
| Type | Name | Description | 
|---|---|---|
| Stream | contentStream | Stream to be returned within the new NodeContent instance.  | 
    
Returns
| Type | Description | 
|---|---|
| NodeContent | A new instance of NodeContent with the underlying   |