C# Class Castle.MonoRail.Framework.Internal.DefaultRescueDescriptorProvider

Creates RescueDescriptor from attributes associated with the Controller
Inheritance: IRescueDescriptorProvider
Datei anzeigen Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
CollectRescues ( MethodInfo memberInfo ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]

Implementors should collect the rescue information and return descriptors instances, or an empty array if none was found.

CollectRescues ( Type type ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]

Collects the rescues.

Service ( IServiceProvider provider ) : void

Invoked by the framework in order to give a chance to obtain other services

Method Details

CollectRescues() public method

Implementors should collect the rescue information and return descriptors instances, or an empty array if none was found.
public CollectRescues ( MethodInfo memberInfo ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]
memberInfo System.Reflection.MethodInfo The action (MethodInfo)
return Castle.MonoRail.Framework.Internal.RescueDescriptor[]

CollectRescues() public method

Collects the rescues.
public CollectRescues ( Type type ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]
type System.Type The type.
return Castle.MonoRail.Framework.Internal.RescueDescriptor[]

Service() public method

Invoked by the framework in order to give a chance to obtain other services
public Service ( IServiceProvider provider ) : void
provider IServiceProvider The service proviver
return void