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
{{ message }}
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: src/Data.HashFunction.Core/NativeLibraryLoader/NativeLibraryLoader.cs
+89-63Lines changed: 89 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
usingSystem;
2
+
usingSystem.Collections.Generic;
2
3
usingSystem.Diagnostics;
3
4
usingSystem.IO;
4
5
usingSystem.Runtime.InteropServices;
@@ -14,13 +15,13 @@ public abstract class NativeLibraryLoader : IDisposable
14
15
protectedreadonlystringlibraryName;
15
16
protectedreadonlyIntPtrlibraryHandle;
16
17
17
-
/// <summary>
18
-
/// Initializes a new instance of <see cref="NativeLibraryLoader"/> for use with the given library name/path. This will automatically load the given library correctly for the current running operating system and architecture.
19
-
/// </summary>
20
-
/// <param name="library">The name/path of the library to be loaded.</param>
21
-
/// <exception cref="ArgumentNullException">Thrown when the given parameter is null.</exception>
22
-
/// <exception cref="FileLoadException">Thrown when the given library could not be loaded either because it is not found or invalid for the current operating system and architecture.</exception>
23
-
publicNativeLibraryLoader(stringlibrary)
18
+
/// <summary>
19
+
/// Initializes a new instance of <see cref="NativeLibraryLoader"/> for use with the given library name/path. This will automatically load the given library correctly for the current running operating system and architecture.
20
+
/// </summary>
21
+
/// <param name="library">The name/path of the library to be loaded.</param>
22
+
/// <exception cref="ArgumentNullException">Thrown when the given parameter is null.</exception>
23
+
/// <exception cref="FileLoadException">Thrown when the given library could not be loaded either because it is not found or invalid for the current operating system and architecture.</exception>
0 commit comments