Table of Contents

Class Filter

Namespace
Fluxzy.Rules.Filters
Assembly
Fluxzy.Core.dll
public abstract class Filter : PolymorphicObject
Inheritance
Filter
Derived
Inherited Members
Extension Methods

Properties

AutoGeneratedName

[YamlIgnore]
public virtual string AutoGeneratedName { get; }

Property Value

string

Category

[YamlIgnore]
public string Category { get; }

Property Value

string

Common

[YamlIgnore]
public virtual bool Common { get; set; }

Property Value

bool

Description

public virtual string? Description { get; set; }

Property Value

string

FilterScope

[YamlIgnore]
public abstract FilterScope FilterScope { get; }

Property Value

FilterScope

FriendlyName

[YamlIgnore]
public string FriendlyName { get; }

Property Value

string

GenericName

[YamlIgnore]
public virtual string GenericName { get; }

Property Value

string

Identifier

[YamlIgnore]
public virtual Guid Identifier { get; }

Property Value

Guid

Inverted

public bool Inverted { get; set; }

Property Value

bool

Locked

public bool Locked { get; set; }

Property Value

bool

PreMadeFilter

[YamlIgnore]
public virtual bool PreMadeFilter { get; }

Property Value

bool

ScopeId

[YamlIgnore]
public int ScopeId { get; }

Property Value

int

ShortName

[YamlIgnore]
public virtual string? ShortName { get; }

Property Value

string

Suffix

protected override string Suffix { get; }

Property Value

string

Methods

Apply(ExchangeContext?, IAuthority, IExchange?, IFilteringContext?)

public virtual bool Apply(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange, IFilteringContext? filteringContext)

Parameters

exchangeContext ExchangeContext
authority IAuthority
exchange IExchange
filteringContext IFilteringContext

Returns

bool

GetDefaultSample()

protected virtual FilterExample? GetDefaultSample()

Returns

FilterExample

GetExamples()

public abstract IEnumerable<FilterExample> GetExamples()

Returns

IEnumerable<FilterExample>

InternalApply(ExchangeContext?, IAuthority, IExchange?, IFilteringContext?)

protected abstract bool InternalApply(ExchangeContext? exchangeContext, IAuthority authority, IExchange? exchange, IFilteringContext? filteringContext)

Parameters

exchangeContext ExchangeContext
authority IAuthority
exchange IExchange
filteringContext IFilteringContext

Returns

bool