FileSystemProviderSettings Class
Namespace: Rebex.IO.FileSystem
Assembly: Rebex.Common.dll (version 7.0.9083)
Configuration options for the FileSystemProvider.
Syntax
public sealed class FileSystemProviderSettings
Inherited Members
Constructors
Name | Description |
---|---|
FileSystemProviderSettings() | Initializes new instance of the FileSystemProviderSettings. |
Properties
Name | Description |
---|---|
Default | Gets or sets default FileSystemProviderSettings used by the classes inherited from the ReadOnlyFileSystemProvider and ReadWriteFileSystemProvider. |
DriveName | Gets or sets VDriveInfo name to use when registering the file system as a VDriveInfo object. Default value is Empty. In this case, an autogenerated name will be used (based on the name of the file system provider implementation class). |
EnableGetContentMethodForDirectories | Gets or sets value indicating whether the method Rebex.IO.FileSystem.ReadOnlyFileSystemProvider.GetContent(Rebex.IO.FileSystem.NodeBase,Rebex.IO.FileSystem.NodeContentParams) is called for directories. Default value is false. |
EnableGetLengthMethodForDirectories | Gets or sets value indicating whether the method GetLength(NodeBase) is called for directories. Default value is false. |
EnableRegistrationAsDrive | Gets or sets whether a FileSystemProvider should be registered as a VDriveInfo object. Default value is true. The file system provider is registered as a virtual file system drive. |
EnableSaveContentMethodForDirectories | Gets or sets value indicating whether the method SaveContent(NodeBase, NodeContent) is called for directories. Default value is false. |
EnableStrictChecks | Gets or sets value indicating whether the strict checks for FileSystemProvider is enabled. Default value is false. Enable strict checks only for debugging purposes. Do not use strict checks in production. |
LogWriter | Gets or sets ILogWriter used for logging. Default value is null. |