C# 클래스 Griffin.Container.Interception.DelegateDecoratorFilter

Uses a delegate to determine if the intances can be decorated.
상속: IDecoratorFilter
파일 보기 프로젝트 열기: jgauffin/Griffin.Container

공개 메소드들

메소드 설명
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