C# 클래스 Nancy.Bootstrappers.Windsor.NancyRequestScopeInterceptorSelector

상속: IModelInterceptorsSelector
파일 보기 프로젝트 열기: NancyFx/Nancy.Bootstrappers.Windsor

공개 메소드들

메소드 설명
HasInterceptors ( ComponentModel model ) : bool

Determine whatever the specified has interceptors. The selector should only return true from this method if it has determined that is a model that it would likely add interceptors to.

SelectInterceptors ( ComponentModel model, InterceptorReference interceptors ) : Castle.Core.InterceptorReference[]

Select the appropriate interceptor references. The interceptor references aren't necessarily registered in the model.Intereceptors

If the selector is not interested in modifying the interceptors for this model, it should return interceptors and the next selector in line would be executed. If the selector wants no interceptors to be used it can either return null or empty array. However next interceptor in line is free to override this choice.

메소드 상세

HasInterceptors() 공개 메소드

Determine whatever the specified has interceptors. The selector should only return true from this method if it has determined that is a model that it would likely add interceptors to.
public HasInterceptors ( ComponentModel model ) : bool
model Castle.Core.ComponentModel The model
리턴 bool

SelectInterceptors() 공개 메소드

Select the appropriate interceptor references. The interceptor references aren't necessarily registered in the model.Intereceptors
If the selector is not interested in modifying the interceptors for this model, it should return interceptors and the next selector in line would be executed. If the selector wants no interceptors to be used it can either return null or empty array. However next interceptor in line is free to override this choice.
public SelectInterceptors ( ComponentModel model, InterceptorReference interceptors ) : Castle.Core.InterceptorReference[]
model Castle.Core.ComponentModel The model to select the interceptors for
interceptors Castle.Core.InterceptorReference The interceptors selected by previous selectors in the pipeline or if this is the first interceptor in the pipeline.
리턴 Castle.Core.InterceptorReference[]