C# Class Castle.MonoRail.Framework.RescueAttribute

Inheritance: System.Attribute, IRescueDescriptorBuilder
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
BuildRescueDescriptors ( ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]

IRescueDescriptorBuilder implementation. Builds the rescue descriptors.

RescueAttribute ( String viewName ) : System

Constructs a RescueAttribute with the template name.

RescueAttribute ( String viewName, Type exceptionType ) : System

Constructs a RescueAttribute with the template name and exception type.

Method Details

BuildRescueDescriptors() public méthode

IRescueDescriptorBuilder implementation. Builds the rescue descriptors.
public BuildRescueDescriptors ( ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]
Résultat Castle.MonoRail.Framework.Internal.RescueDescriptor[]

RescueAttribute() public méthode

Constructs a RescueAttribute with the template name.
public RescueAttribute ( String viewName ) : System
viewName String The view to use in the event of error
Résultat System

RescueAttribute() public méthode

Constructs a RescueAttribute with the template name and exception type.
public RescueAttribute ( String viewName, Type exceptionType ) : System
viewName String The view to use in the event of error
exceptionType System.Type The exception to match
Résultat System