Esempio n. 1
0
 protected NativeLibraryBase
 (
     [NotNull] string path,
     ImplementationOptions options
 )
 {
     Options        = options;
     _libraryHandle = PlatformLoader.LoadLibrary(path);
 }
Esempio n. 2
0
 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;
 }