public static ViewWrapper New(string typeName, ViewWrapperImpl viewWrapper) { ViewWrapper ret = new ViewWrapper(Interop.ViewWrapperImpl.New(typeName, ViewWrapperImpl.getCPtr(viewWrapper)), true); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewWrapper obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }