C# Класс BrightIdeasSoftware.FlagBitSetFilter

Instances of this class match a property of a model objects against a list of bit flags. The property should be an xor-ed collection of bits flags.
Both the property compared and the list of possible values must be convertible to ulongs.
Наследование: OneOfFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
FlagBitSetFilter ( AspectGetterDelegate valueGetter, ICollection possibleValues ) : System

Create an instance

Защищенные методы

Метод Описание
DoesValueMatch ( object result ) : bool

Decides if the given property is a match for the values in the PossibleValues collection

Приватные методы

Метод Описание
ConvertPossibleValues ( ) : void

Описание методов

DoesValueMatch() защищенный Метод

Decides if the given property is a match for the values in the PossibleValues collection
protected DoesValueMatch ( object result ) : bool
result object
Результат bool

FlagBitSetFilter() публичный Метод

Create an instance
public FlagBitSetFilter ( AspectGetterDelegate valueGetter, ICollection possibleValues ) : System
valueGetter AspectGetterDelegate
possibleValues ICollection
Результат System