C# Class Platform.Invoke.LibraryLoaderBase

Provides a base class for operating system library loaders.
Inheritance: ILibraryLoader
Show file Open project: GeirGrusom/PlatformInvoker

Protected Methods

Method Description
CreateLibrary ( IntPtr handle, string libraryName ) : ILibrary

Creates a library function loader wrapper for the specified loaded library.

LibraryLoaderBase ( IntPtr>.Func loadProc ) : System

Creates a library loader base with the specified loader procedure.

Private Methods

Method Description
Load ( string libraryName ) : ILibrary

Method Details

CreateLibrary() protected abstract method

Creates a library function loader wrapper for the specified loaded library.
protected abstract CreateLibrary ( IntPtr handle, string libraryName ) : ILibrary
handle System.IntPtr Operating system provided module handle.
libraryName string Name of the loaded library.
return ILibrary

LibraryLoaderBase() protected method

Creates a library loader base with the specified loader procedure.
protected LibraryLoaderBase ( IntPtr>.Func loadProc ) : System
loadProc IntPtr>.Func Library loader procedure.
return System