C# Класс Castle.MonoRail.ActiveRecordSupport.ARFetchAttribute

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

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

Метод Описание
ARFetchAttribute ( ) : System

Constructs an ARFetchAttribute using the parameter name as the ARFetchAttribute.RequestParameterName

ARFetchAttribute ( String requestParameterName ) : System

Constructs an ARFetchAttribute specifing the parameter name ARFetchAttribute.RequestParameterName

ARFetchAttribute ( String requestParameterName, bool create, bool required ) : System

Constructs an ARFetchAttribute specifying the parameter name and the create and require behavior

ARFetchAttribute ( bool create, bool require ) : System

Constructs an ARFetchAttribute using the parameter name as the ARFetchAttribute.RequestParameterName and the create and require behavior

Bind ( SmartDispatcherController controller, ParameterInfo parameterInfo ) : object
CalculateParamPoints ( SmartDispatcherController controller, ParameterInfo parameterInfo ) : int

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

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

Constructs an ARFetchAttribute using the parameter name as the ARFetchAttribute.RequestParameterName
public ARFetchAttribute ( ) : System
Результат System

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

Constructs an ARFetchAttribute specifing the parameter name ARFetchAttribute.RequestParameterName
public ARFetchAttribute ( String requestParameterName ) : System
requestParameterName String
Результат System

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

Constructs an ARFetchAttribute specifying the parameter name and the create and require behavior
public ARFetchAttribute ( String requestParameterName, bool create, bool required ) : System
requestParameterName String The parameter name to be read from the request
create bool true if you want an instance even when the record is not found
required bool true if you want an exception if the record is not found
Результат System

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

Constructs an ARFetchAttribute using the parameter name as the ARFetchAttribute.RequestParameterName and the create and require behavior
public ARFetchAttribute ( bool create, bool require ) : System
create bool true if you want an instance even when the record is not found
require bool true if you want an exception if the record is not found
Результат System

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

public Bind ( SmartDispatcherController controller, ParameterInfo parameterInfo ) : object
controller SmartDispatcherController
parameterInfo System.Reflection.ParameterInfo
Результат object

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

public CalculateParamPoints ( SmartDispatcherController controller, ParameterInfo parameterInfo ) : int
controller SmartDispatcherController
parameterInfo System.Reflection.ParameterInfo
Результат int