private List <QueryableObject> QueryDatabaseManager(object[] parameters, QueryFilter filter)
        {
            QueryableDatabaseManager queryableDatabaseManager = new QueryableDatabaseManager();

            OnlineDiagnostics.Instance.databaseManager.ExportToQueryableObject(queryableDatabaseManager);
            List <QueryableObject> list = new List <QueryableObject>(1);

            if (filter == null || OpathFilterEvaluator.FilterMatches(filter, queryableDatabaseManager))
            {
                list.Add(queryableDatabaseManager);
            }
            return(list);
        }
示例#2
0
        // Token: 0x0600018D RID: 397 RVA: 0x00007CD0 File Offset: 0x00005ED0
        public override void ExportToQueryableObject(QueryableObject queryableObject)
        {
            base.ExportToQueryableObject(queryableObject);
            QueryableDatabaseManager queryableDatabaseManager = queryableObject as QueryableDatabaseManager;

            if (queryableDatabaseManager != null)
            {
                queryableDatabaseManager.StartState = this.startState.ToString();
                queryableDatabaseManager.IsStopping = this.isStopping;
                QueryableThrottle queryableObject2 = new QueryableThrottle();
                this.throttle.ExportToQueryableObject(queryableObject2);
                queryableDatabaseManager.Throttle = queryableObject2;
                QueryableThrottleGovernor queryableThrottleGovernor = new QueryableThrottleGovernor();
                this.eventGovernor.ExportToQueryableObject(queryableThrottleGovernor);
                queryableDatabaseManager.Governor = queryableThrottleGovernor;
            }
        }