/// <summary> /// Tries the get value. /// </summary> /// <param name="key">The key.</param> /// <param name="value">The value.</param> /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns> public bool TryGetValue(string key, out QueryOperation value) { return(_operations.TryGetValue(key, out value)); }
/// <summary> /// Adds the operation. /// </summary> /// <param name="operation">The operation.</param> public void AddOperation(QueryOperation operation) { Validation.ThrowIfNull(operation, nameof(operation)); _operations.Add(operation.Name, operation); }