You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The Dokan version that DokanNet is compatible with.
17
24
/// </summary>
18
25
/// <see cref="DOKAN_OPTIONS.Version"/>
19
26
publicconstushortDOKAN_VERSION=200;
27
+
20
28
privatereadonlyDOKAN_OPTIONS_options;
29
+
21
30
[SuppressMessage("CodeQuality","IDE0052:Remove unread private members",Justification="Dokan instance isn't really needed, a reference is kept to enforce a workflow")]
22
31
privatereadonlyDokan_dokan;
32
+
23
33
privateILogger_logger;
24
34
35
+
/// <summary>
36
+
/// Constructure an object with a <see cref="NullLogger"/> and default <see cref="DOKAN_OPTIONS"/> that will use the given <paramref name="dokan"/>.
37
+
/// </summary>
25
38
publicDokanInstanceBuilder(Dokandokan)
26
39
{
27
40
_logger=newNullLogger();
@@ -40,21 +53,40 @@ public DokanInstanceBuilder(Dokan dokan)
40
53
};
41
54
_dokan=dokan;
42
55
}
56
+
57
+
/// <summary>
58
+
/// Allows to set a custom <see cref="ILogger"/> like <see cref="Logger"/>, <see cref="TraceLogger"/> to be used
59
+
/// for the instance created by <see cref="Build"/>.
@@ -781,7 +771,7 @@ public NtStatus FindStreamsProxy(string rawFileName, IntPtr rawFillFindData, Int
781
771
/// <returns>A instance of the specified delegate type.</returns>
782
772
/// <param name="rawDelegate">The unmanaged function pointer to convert. </param>
783
773
/// <typeparam name="TDelegate">The type of the delegate to return. </typeparam>
784
-
/// <exception cref="T:System.ArgumentException">The <typeparam name="TDelegate" /> generic parameter is not a delegate, or it is an open generic type.</exception>
774
+
/// <exception cref="T:System.ArgumentException">The <typeparamref name="TDelegate" /> generic parameter is not a delegate, or it is an open generic type.</exception>
785
775
/// <exception cref="T:System.ArgumentNullException">The <paramref name="rawDelegate" /> parameter is null.</exception>
@@ -20,9 +23,9 @@ public static Boolean IsFileSystemRunning(this DokanInstance dokanInstance)
20
23
/// <summary>
21
24
/// Wait until the FileSystem is unmount.
22
25
/// </summary>
23
-
/// <param name="dokanInstance">The dokan mount context created by <see cref="CreateFileSystem"/>.</param>
24
-
/// <param name="milliSeconds">The time-out interval, in milliseconds. If a nonzero value is specified, the function waits until the object is signaled or the interval elapses. If <param name="milliSeconds"> is zero,
25
-
/// the function does not enter a wait state if the object is not signaled; it always returns immediately. If <param name="milliSeconds"> is INFINITE, the function will return only when the object is signaled.</param>
26
+
/// <param name="dokanInstance">The dokan mount context created by <see cref="DokanInstance.DokanInstance"/>.</param>
27
+
/// <param name="milliSeconds">The time-out interval, in milliseconds. If a nonzero value is specified, the function waits until the object is signaled or the interval elapses. If set to zero,
28
+
/// the function does not enter a wait state if the object is not signaled; it always returns immediately. If set to INFINITE, the function will return only when the object is signaled.</param>
26
29
/// <returns>See <a href="https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitforsingleobject">WaitForSingleObject</a> for a description of return values.</returns>
0 commit comments