Пример #1
0
        public void DaliExceptionConstructor()
        {
            tlog.Debug(tag, $"DaliExceptionConstructor START");

            var testingTarget = new DaliException("China", "Chinese speaking!");

            Assert.IsNotNull(testingTarget, "Can't create success object DaliException.");
            Assert.IsInstanceOf <DaliException>(testingTarget, "Should return DaliException instance.");

            testingTarget.Dispose();
            tlog.Debug(tag, $"DaliExceptionConstructor END (OK)");
        }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DaliException obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }