C# 클래스 Castle.MonoRail.ActiveRecordSupport.ARFetchAttribute

상속: System.Attribute, IParameterBinder
파일 보기 프로젝트 열기: nats/castle-1.0.3-mono 1 사용 예제들

공개 메소드들

메소드 설명
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