⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlitestatementhandle.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Data
{
    using System;
    using System.Runtime.InteropServices;

    internal class SQLiteStatementHandle : CriticalHandle
    {
        internal SQLiteStatementHandle() : base(IntPtr.Zero)
        {
        }

        private SQLiteStatementHandle(IntPtr stmt) : this()
        {
            base.SetHandle(stmt);
        }

        public static implicit operator IntPtr(SQLiteStatementHandle stmt)
        {
            return stmt.handle;
        }

        public static implicit operator SQLiteStatementHandle(IntPtr stmt)
        {
            return new SQLiteStatementHandle(stmt);
        }

        protected override bool ReleaseHandle()
        {
            SQLiteBase.FinalizeStatement(this);
            return true;
        }

        public override bool IsInvalid
        {
            get
            {
                return (base.handle == IntPtr.Zero);
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -