| | | 1 | | // Copyright (c) Microsoft. All rights reserved. |
| | | 2 | | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| | | 3 | | |
| | | 4 | | namespace Microsoft.Azure.ServiceBus |
| | | 5 | | { |
| | | 6 | | using System; |
| | | 7 | | |
| | | 8 | | /// <summary> |
| | | 9 | | /// Describes a filter expression that is evaluated against a Message. |
| | | 10 | | /// </summary> |
| | | 11 | | /// <remarks> |
| | | 12 | | /// Filter is an abstract class with the following concrete implementations: |
| | | 13 | | /// <list type="bullet"> |
| | | 14 | | /// <item><b>SqlFilter</b> that represents a filter using SQL syntax. </item> |
| | | 15 | | /// <item><b>CorrelationFilter</b> that provides an optimization for correlation equality expressions.</item> |
| | | 16 | | /// </list> |
| | | 17 | | /// </remarks> |
| | | 18 | | /// <seealso cref="SqlFilter"/> |
| | | 19 | | /// <seealso cref="TrueFilter"/> |
| | | 20 | | /// <seealso cref="CorrelationFilter "/> |
| | | 21 | | /// <seealso cref="FalseFilter"/> |
| | | 22 | | public abstract class Filter : IEquatable<Filter> |
| | | 23 | | { |
| | 0 | 24 | | internal Filter() |
| | | 25 | | { |
| | | 26 | | // This is intentionally left blank. This constructor exists |
| | | 27 | | // only to prevent external assemblies inheriting from it. |
| | 0 | 28 | | } |
| | | 29 | | |
| | | 30 | | public abstract bool Equals(Filter other); |
| | | 31 | | } |
| | | 32 | | } |