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