C# Класс Nancy.Bootstrappers.Windsor.NancyRequestScopeInterceptorSelector

Наследование: IModelInterceptorsSelector
Показать файл Открыть проект

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

Метод Описание
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[]