private static void Initialize()
 {
     if (native == null)
     {
         native = InteropRuntimeImplementer.CreateInstance <IDeskewNativeApi>();
     }
 }
 public static void NativeInit()
 {
     if (native == null)
     {
         native = InteropRuntimeImplementer.CreateInstance <ILeptonicaNativeApi>();
     }
 }
예제 #3
0
 public static void Initialize()
 {
     if (native == null)
     {
         native = InteropRuntimeImplementer.CreateInstance <ILeptonicaApiSignatures>();
     }
 }
예제 #4
0
        static void Main()
        {
            var native = InteropRuntimeImplementer.CreateInstance <INative>();

            Console.WriteLine("2 + 3 = " + native.Sum(2, 3));
        }