internal LinearConstrainer(LinearConstrainer handle) : this(Interop.LinearConstrainer.new_LinearConstrainer__SWIG_1(LinearConstrainer.getCPtr(handle)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void LinearConstrainerDownCast() { tlog.Debug(tag, $"LinearConstrainerDownCast START"); using (Builder builder = new Builder()) { builder.LoadFromFile(path); var testingTarget = builder.GetLinearConstrainer("Camera_003_render"); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <LinearConstrainer>(testingTarget, "should be an instance of testing target class!"); try { LinearConstrainer.DownCast(testingTarget); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); } tlog.Debug(tag, $"LinearConstrainerDownCast END (OK)"); }
public void LinearConstrainerProgress() { tlog.Debug(tag, $"LinearConstrainerProgress START"); var testingTarget = new LinearConstrainer(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <LinearConstrainer>(testingTarget, "should be an instance of testing target class!"); try { using (PropertyArray arr = new PropertyArray()) { arr.PushBack(new PropertyValue(0.3f)); testingTarget.Progress = arr; tlog.Debug(tag, "Progress : " + testingTarget.Progress); } } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"LinearConstrainerProgress END (OK)"); }
public void LinearConstrainerRemove() { tlog.Debug(tag, $"LinearConstrainerRemove START"); var testingTarget = new LinearConstrainer(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <LinearConstrainer>(testingTarget, "should be an instance of testing target class!"); try { using (Animatable ani = new Animatable()) { testingTarget.Remove(ani); } } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } testingTarget.Dispose(); tlog.Debug(tag, $"LinearConstrainerRemove END (OK)"); }
internal LinearConstrainer Assign(LinearConstrainer rhs) { LinearConstrainer ret = new LinearConstrainer(Interop.LinearConstrainer.LinearConstrainer_Assign(swigCPtr, LinearConstrainer.getCPtr(rhs)), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static LinearConstrainer DownCast(BaseHandle handle) { LinearConstrainer ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as LinearConstrainer; if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void LinearConstrainerConstructor() { tlog.Debug(tag, $"LinearConstrainerConstructor START"); var testingTarget = new LinearConstrainer(); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <LinearConstrainer>(testingTarget, "should be an instance of testing target class!"); testingTarget.Dispose(); tlog.Debug(tag, $"LinearConstrainerConstructor END (OK)"); }
public void LinearConstrainerConstructorWithLinearConstrainer() { tlog.Debug(tag, $"LinearConstrainerConstructorWithLinearConstrainer START"); using (LinearConstrainer constrainer = new LinearConstrainer()) { var testingTarget = new LinearConstrainer(constrainer); Assert.IsInstanceOf <LinearConstrainer>(testingTarget, "should be an instance of testing target class!"); testingTarget?.Dispose(); } tlog.Debug(tag, $"LinearConstrainerConstructorWithLinearConstrainer END (OK)"); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LinearConstrainer obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }