示例#1
0
        protected virtual void OnQueryCompiled(QueryCompilationEventArgs e)
        {
            EventHandler <QueryCompilationEventArgs> queryCompiled = this.QueryCompiled;

            if (queryCompiled != null)
            {
                queryCompiled(this, e);
            }
            this.QueryCompiled = null;
        }
示例#2
0
 public Client(QueryCore query, string querySelection, bool compileOnly, QueryCompilationEventArgs lastCompilation, Func <Client, Server> serverGenerator, PluginWindowManager pluginWinManager)
 {
     this._query            = query;
     this._partialSource    = !string.IsNullOrEmpty(querySelection);
     this._source           = this._partialSource ? querySelection : this._query.Source;
     this._compileOnly      = compileOnly;
     this._lastCompilation  = lastCompilation;
     this._serverGenerator  = serverGenerator;
     this._pluginWinManager = pluginWinManager;
 }