DokanNet.DokanInstanceBuilder Class Reference

Dokan FileSystem build helper. Allows to create one or multiple DokanInstance based on a given configuration. More...

Public Member Functions

delegate void OptionsConfigurationDelegate (DOKAN_OPTIONS options)
 Delegate used by ConfigureOptions to customize th internal DOKAN_OPTIONS. More...
 
 DokanInstanceBuilder (Dokan dokan)
 Constructure an object with a NullLogger and default DOKAN_OPTIONS that will use the given dokan . More...
 
DokanInstanceBuilder ConfigureLogger (Func< ILogger > IlogegrFactory)
 Allows to set a custom ILogger like Logger, TraceLogger to be used for the instance created by Build. More...
 
DokanInstanceBuilder ConfigureOptions (OptionsConfigurationDelegate optionsConfigurationDelegate)
 Allows to personalize the DOKAN_OPTIONS use for Build. More...
 
DokanInstanceBuilder Validate ()
 Verify that the provided configuration is valid. Note: Has no effect for now. More...
 
DokanInstance Build (IDokanOperations operations)
 Create a DokanInstance based on the previously provided information through ConfigureOptions and ConfigureLogger. More...
 

Public Attributes

const ushort DOKAN_VERSION = 200
 The Dokan version that DokanNet is compatible with. More...
 

Detailed Description

Dokan FileSystem build helper. Allows to create one or multiple DokanInstance based on a given configuration.

Constructor & Destructor Documentation

DokanNet.DokanInstanceBuilder.DokanInstanceBuilder ( Dokan  dokan)
inline

Constructure an object with a NullLogger and default DOKAN_OPTIONS that will use the given dokan .

Member Function Documentation

DokanInstance DokanNet.DokanInstanceBuilder.Build ( IDokanOperations  operations)
inline

Create a DokanInstance based on the previously provided information through ConfigureOptions and ConfigureLogger.

DokanInstanceBuilder DokanNet.DokanInstanceBuilder.ConfigureLogger ( Func< ILogger IlogegrFactory)
inline

Allows to set a custom ILogger like Logger, TraceLogger to be used for the instance created by Build.

DokanInstanceBuilder DokanNet.DokanInstanceBuilder.ConfigureOptions ( OptionsConfigurationDelegate  optionsConfigurationDelegate)
inline

Allows to personalize the DOKAN_OPTIONS use for Build.

delegate void DokanNet.DokanInstanceBuilder.OptionsConfigurationDelegate ( DOKAN_OPTIONS  options)

Delegate used by ConfigureOptions to customize th internal DOKAN_OPTIONS.

DokanInstanceBuilder DokanNet.DokanInstanceBuilder.Validate ( )
inline

Verify that the provided configuration is valid. Note: Has no effect for now.

Member Data Documentation

const ushort DokanNet.DokanInstanceBuilder.DOKAN_VERSION = 200

The Dokan version that DokanNet is compatible with.

DOKAN_OPTIONS.Version


The documentation for this class was generated from the following file:
  • DokanInstanceBuilder.cs