private static void Initialize() { if (native == null) { native = InteropRuntimeImplementer.CreateInstance <IDeskewNativeApi>(); } }
public static void NativeInit() { if (native == null) { native = InteropRuntimeImplementer.CreateInstance <ILeptonicaNativeApi>(); } }
public static void Initialize() { if (native == null) { native = InteropRuntimeImplementer.CreateInstance <ILeptonicaApiSignatures>(); } }
static void Main() { var native = InteropRuntimeImplementer.CreateInstance <INative>(); Console.WriteLine("2 + 3 = " + native.Sum(2, 3)); }