public CustomActor(CustomActorImpl implementation) : this(Interop.CustomActorImpl.NewCustomActor(CustomActorImpl.getCPtr(implementation)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public CustomActorImpl GetImplementation() { CustomActorImpl ret = new CustomActorImpl(Interop.CustomActorImpl.CustomActorGetImplementation(SwigCPtr), false); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void CustomActorImplConstructor() { tlog.Debug(tag, $"CustomActorImplConstructor START"); var testingTarget = new CustomActorImpl(actor.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <CustomActorImpl>(testingTarget, "Should be an Instance of CustomActorImpl!"); testingTarget.Dispose(); tlog.Debug(tag, $"CustomActorImplConstructor END (OK)"); }
public void CustomActorImplIsRelayoutEnabled() { tlog.Debug(tag, $"CustomActorImplIsRelayoutEnabled START"); var testingTarget = new CustomActorImpl(actor.SwigCPtr.Handle, false); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <CustomActorImpl>(testingTarget, "Should be an Instance of CustomActorImpl!"); var result = testingTarget.IsRelayoutEnabled(); tlog.Debug(tag, "IsRelayoutEnabled : " + result); testingTarget.Dispose(); tlog.Debug(tag, $"CustomActorImplIsRelayoutEnabled END (OK)"); }
public void CustomActorImplIsRelayoutEnabled() { tlog.Debug(tag, $"CustomActorImplIsRelayoutEnabled START"); using (View view = new View()) { var testingTarget = NDalic.GetImplementation(view); Assert.IsNotNull(testingTarget, "Should be not null!"); Assert.IsInstanceOf <CustomActorImpl>(testingTarget, "Should be an Instance of CustomActorImpl!"); tlog.Debug(tag, "getCPtr : " + CustomActorImpl.getCPtr(testingTarget)); var result = testingTarget.IsRelayoutEnabled(); tlog.Debug(tag, "IsRelayoutEnabled : " + result); testingTarget.Dispose(); } tlog.Debug(tag, $"CustomActorImplIsRelayoutEnabled END (OK)"); }