C# Class FoundationDB.Client.Native.UnmanagedLibrary

Native Library Loader
Inheritance: IDisposable
Afficher le fichier Open project: BedeGaming/foundationdb-dotnet-client Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Call FreeLibrary on the unmanaged dll. All function pointers handed out from this class become invalid after this.

This is very dangerous because it suddenly invalidate everything retrieved from this dll. This includes any functions handed out via GetProcAddress, and potentially any objects returned from those functions (which may have an implemention in the dll).///

Private Methods

Méthode Description
Load ( string path ) : UnmanagedLibrary
UnmanagedLibrary ( SafeLibraryHandle handle, string path ) : JetBrains.Annotations

Constructor to load a dll and be responible for freeing it.

Method Details

Dispose() public méthode

Call FreeLibrary on the unmanaged dll. All function pointers handed out from this class become invalid after this.
This is very dangerous because it suddenly invalidate everything retrieved from this dll. This includes any functions handed out via GetProcAddress, and potentially any objects returned from those functions (which may have an implemention in the dll).///
public Dispose ( ) : void
Résultat void