protected NativeLibraryBase ( [NotNull] string path, ImplementationOptions options ) { Options = options; _libraryHandle = PlatformLoader.LoadLibrary(path); }
protected NativeLibraryBase ( [NotNull] string path, [NotNull] Type interfaceType, ImplementationOptions options, [NotNull] TypeTransformerRepository transformerRepository ) { Options = options; TransformerRepository = transformerRepository; _libraryHandle = PlatformLoader.LoadLibrary(path); _path = path; _interfaceType = interfaceType; }