Class AuthorityFilter
- Namespace
- Fluxzy.Rules.Filters.RequestFilters
- Assembly
- Fluxzy.Core.dll
[FilterMetaData(null, LongDescription = "Select exchange according to hostname and a port")]
public class AuthorityFilter : StringFilter
- Inheritance
-
AuthorityFilter
- Inherited Members
-
- Extension Methods
-
Constructors
AuthorityFilter(int, string, StringSelectorOperation)
[JsonConstructor]
public AuthorityFilter(int port, string pattern, StringSelectorOperation operation)
Parameters
port
int
pattern
string
operation
StringSelectorOperation
Properties
AutoGeneratedName
public override string AutoGeneratedName { get; }
Property Value
- string
Common
public override bool Common { get; set; }
Property Value
- bool
Description
public override string? Description { get; set; }
Property Value
- string
FilterScope
public override FilterScope FilterScope { get; }
Property Value
- FilterScope
GenericName
public override string GenericName { get; }
Property Value
- string
Port
Property Value
- int
ShortName
public override string? ShortName { get; }
Property Value
- string
Methods
GetExamples()
public override IEnumerable<FilterExample> GetExamples()
Returns
- IEnumerable<FilterExample>
GetMatchInputs(ExchangeContext?, IAuthority, IExchange?)
protected override IEnumerable<string> GetMatchInputs(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange)
Parameters
exchangeContext
ExchangeContext
authority
IAuthority
exchange
IExchange
Returns
- IEnumerable<string>
InternalApply(ExchangeContext?, IAuthority, IExchange?, IFilteringContext?)
protected override bool InternalApply(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange, IFilteringContext? filteringContext)
Parameters
exchangeContext
ExchangeContext
authority
IAuthority
exchange
IExchange
filteringContext
IFilteringContext
Returns
- bool