public Counter Add(Counter other) { Counter ret = new Counter(DemoToolsPINVOKE.Counter_Add__SWIG_1(swigCPtr, Counter.getCPtr(other)), false); if (DemoToolsPINVOKE.SWIGPendingException.Pending) { throw DemoToolsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; DemoToolsPINVOKE.delete_PlatformID(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } }
public static Counter MainCounter() { Counter ret = new Counter(DemoToolsPINVOKE.MainCounter(), false); return(ret); }
public string Get() { string ret = DemoToolsPINVOKE.PlatformID_Get(swigCPtr); return(ret); }
public PlatformID() : this(DemoToolsPINVOKE.new_PlatformID(), true) { }
public Counter Add(int value) { Counter ret = new Counter(DemoToolsPINVOKE.Counter_Add__SWIG_0(swigCPtr, value), false); return(ret); }
public int Get() { int ret = DemoToolsPINVOKE.Counter_Get(swigCPtr); return(ret); }
public void Increase() { DemoToolsPINVOKE.Counter_Increase(swigCPtr); }
public void Reset() { DemoToolsPINVOKE.Counter_Reset(swigCPtr); }
public Counter() : this(DemoToolsPINVOKE.new_Counter(), true) { }