/// <summary> /// Begin query process operation. /// </summary> public static void BeginOperation(QueryProcessOperation operation) { if (_operation != QueryProcessOperation.None) { EndOperation(); } _operation = operation; OnOperationStarted(); }
/// <summary> /// End query process operation. Automatically called if new operation started. /// </summary> public static void EndOperation() { OnOperationFinished(); _operation = QueryProcessOperation.None; }