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

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