C# Класс Castle.MonoRail.Framework.Services.DefaultControllerDescriptorProvider

Constructs and caches all collected information about a Controller and its actions. ControllerMetaDescriptor
Наследование: IControllerDescriptorProvider
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BuildDescriptor ( Controller controller ) : ControllerMetaDescriptor

Constructs and populates a ControllerMetaDescriptor.

This implementation is also responsible for caching constructed meta descriptors.

BuildDescriptor ( Type controllerType ) : ControllerMetaDescriptor

Constructs and populates a ControllerMetaDescriptor.

This implementation is also responsible for caching constructed meta descriptors.

Service ( IServiceProvider serviceProvider ) : void

Services the specified service provider.

Приватные методы

Метод Описание
CollectAccessibleThrough ( ActionMetaDescriptor actionDescriptor, MethodInfo method ) : void

Collects the accessible through.

CollectActionAttributes ( MethodInfo method, ControllerMetaDescriptor descriptor ) : void

Collects the action attributes.

CollectActionLevelAttributes ( ControllerMetaDescriptor descriptor ) : void

Collects the action level attributes.

CollectActions ( Type controllerType, ControllerMetaDescriptor desc ) : void

Collects the actions.

CollectCacheConfigures ( ActionMetaDescriptor descriptor, MemberInfo memberInfo ) : void

Collects the cache configures.

CollectClassLevelAttributes ( Type controllerType, ControllerMetaDescriptor descriptor ) : void

Collects the class level attributes.

CollectDefaultAction ( ControllerMetaDescriptor descriptor, Type controllerType ) : void

Collects the default action.

CollectDynamicAction ( ControllerMetaDescriptor descriptor, Type controllerType ) : void

Collects the dynamic action.

CollectFilters ( ControllerMetaDescriptor descriptor, Type controllerType ) : void

Collects the filters.

CollectHelpers ( ControllerMetaDescriptor descriptor, Type controllerType ) : void

Collects the helpers.

CollectLayout ( BaseMetaDescriptor descriptor, MemberInfo memberInfo ) : void

Collects the layout.

CollectRescues ( BaseMetaDescriptor descriptor, MethodInfo memberInfo ) : void

Collects the rescues.

CollectRescues ( BaseMetaDescriptor descriptor, Type type ) : void

Collects the rescues.

CollectResources ( BaseMetaDescriptor desc, MemberInfo memberInfo ) : void

Collects the resources.

CollectScaffolding ( ControllerMetaDescriptor descriptor, Type controllerType ) : void

Collects the scaffolding.

CollectSkipFilter ( ActionMetaDescriptor actionDescriptor, MethodInfo method ) : void

Collects the skip filter.

CollectSkipRescue ( ActionMetaDescriptor actionDescriptor, MethodInfo method ) : void

Collects the skip rescue.

CollectTransformFilter ( ActionMetaDescriptor actionDescriptor, MethodInfo method ) : void

Collects the transform filter.

GetRealControllerType ( Type controllerType ) : Type

Gets the real controller type, instead of the proxy type.

Workaround for DYNPROXY-14 bug. See: http://support.castleproject.org/browse/DYNPROXY-14

InternalBuildDescriptor ( Type controllerType ) : ControllerMetaDescriptor

Builds the ControllerMetaDescriptor for the specified controller type

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

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

Constructs and populates a ControllerMetaDescriptor.
This implementation is also responsible for caching constructed meta descriptors.
public BuildDescriptor ( Controller controller ) : ControllerMetaDescriptor
controller Controller
Результат Castle.MonoRail.Framework.Internal.ControllerMetaDescriptor

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

Constructs and populates a ControllerMetaDescriptor.
This implementation is also responsible for caching constructed meta descriptors.
public BuildDescriptor ( Type controllerType ) : ControllerMetaDescriptor
controllerType System.Type
Результат Castle.MonoRail.Framework.Internal.ControllerMetaDescriptor

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

Services the specified service provider.
public Service ( IServiceProvider serviceProvider ) : void
serviceProvider IServiceProvider The service provider.
Результат void