Class ProcessNameFilter
- Namespace
- Fluxzy.Rules.Filters.RequestFilters
- Assembly
- Fluxzy.Core.dll
Select exchanges initiated by processes with the specified names.
[FilterMetaData(null, LongDescription = "Select exchanges initiated by processes with the specified names. Process names are matched case-insensitively. On Windows, the .exe extension can be omitted. Process tracking must be enabled and the connection must originate from localhost.")]
public class ProcessNameFilter : Filter
- Inheritance
-
ProcessNameFilter
- Inherited Members
- Extension Methods
Constructors
ProcessNameFilter()
public ProcessNameFilter()
ProcessNameFilter(params string[])
public ProcessNameFilter(params string[] processNames)
Parameters
processNamesstring[]
Properties
AutoGeneratedName
public override string AutoGeneratedName { get; }
Property Value
FilterScope
The scope of this filter
public override FilterScope FilterScope { get; }
Property Value
GenericName
public override string GenericName { get; }
Property Value
Identifier
An identifier for this filter, should be the same value for the same filter.
public override Guid Identifier { get; }
Property Value
ProcessNames
public List<string> ProcessNames { get; set; }
Property Value
ShortName
public override string ShortName { get; }
Property Value
Methods
GetExamples()
public override IEnumerable<FilterExample> GetExamples()
Returns
InternalApply(ExchangeContext?, IAuthority, IExchange?, IFilteringContext?)
protected override bool InternalApply(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange, IFilteringContext? filteringContext)
Parameters
exchangeContextExchangeContextauthorityIAuthorityexchangeIExchangefilteringContextIFilteringContext