C# Класс Castle.MonoRail.Framework.RescueAttribute

Наследование: System.Attribute, IRescueDescriptorBuilder
Показать файл Открыть проект

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

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

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

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

IRescueDescriptorBuilder implementation. Builds the rescue descriptors.
public BuildRescueDescriptors ( ) : Castle.MonoRail.Framework.Internal.RescueDescriptor[]
Результат Castle.MonoRail.Framework.Internal.RescueDescriptor[]

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

Constructs a RescueAttribute with the template name.
public RescueAttribute ( String viewName ) : System
viewName String The view to use in the event of error
Результат System

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

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
Результат System