C# Класс Griffin.Container.Interception.DelegateDecoratorFilter

Uses a delegate to determine if the intances can be decorated.
Наследование: IDecoratorFilter
Показать файл Открыть проект

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

Метод Описание
CanDecorate ( DecoratorContext context ) : bool

Determins if an instance should be decorated or not.

DelegateDecoratorFilter ( bool>.Func filter ) : System

Initializes a new instance of the DelegateDecoratorFilter class.

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

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

Determins if an instance should be decorated or not.
public CanDecorate ( DecoratorContext context ) : bool
context DecoratorContext Context
Результат bool

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

Initializes a new instance of the DelegateDecoratorFilter class.
public DelegateDecoratorFilter ( bool>.Func filter ) : System
filter bool>.Func The filter.
Результат System