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