C# Class Griffin.Container.Interception.DelegateDecoratorFilter

Uses a delegate to determine if the intances can be decorated.
Inheritance: IDecoratorFilter
Afficher le fichier Open project: jgauffin/Griffin.Container

Méthodes publiques

Méthode Description
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.

Method Details

CanDecorate() public méthode

Determins if an instance should be decorated or not.
public CanDecorate ( DecoratorContext context ) : bool
context DecoratorContext Context
Résultat bool

DelegateDecoratorFilter() public méthode

Initializes a new instance of the DelegateDecoratorFilter class.
public DelegateDecoratorFilter ( bool>.Func filter ) : System
filter bool>.Func The filter.
Résultat System