public NativeProcessorArchitecture(IServiceProvider services, string archID, string libPath, ILibraryLoader ldr, Dictionary <string, object> options) : base(services, archID, options) { loader = ldr; handle = ldr.LoadLibrary(libPath); prv = (NativeProcessorArchitectureProvider)Marshal.PtrToStructure(ldr.GetSymbol(handle, SYM_NAME), typeof(NativeProcessorArchitectureProvider)); }
public NativeProcessorArchitecture(string archID, string libPath, ILibraryLoader ldr) : base(archID) { loader = ldr; handle = ldr.LoadLibrary(libPath); prv = (NativeProcessorArchitectureProvider)Marshal.PtrToStructure(ldr.GetSymbol(handle, SYM_NAME), typeof(NativeProcessorArchitectureProvider)); }