Пример #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (ImmediateContext1__ != null)
                {
                    ImmediateContext1__.Dispose();
                    ImmediateContext1__ = null;
                }
            }

            base.Dispose(disposing);
        }
        /// <inheritdoc/>
        protected override void DisposeCore(IntPtr nativePointer, bool disposing)
        {
            if (disposing)
            {
                if (ImmediateContext1__ != null)
                {
                    ImmediateContext1__.Dispose();
                    ImmediateContext1__ = null;
                }
            }

            base.DisposeCore(nativePointer, disposing);
        }