C# 클래스 Caliburn.Micro.MessageBinder

A service that is capable of properly binding values to a method's parameters and creating instances of IResult.
파일 보기 프로젝트 열기: dbuksbaum/Learning-Caliburn.Micro 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SpecialValues string[]

공개 메소드들

메소드 설명
CoerceValue ( Type destinationType, object providedValue ) : object

Coerces the provided value to the destination type.

CreateResult ( object returnValue ) : SequentialResult

Converts the return value of a method into an IResult if possible.

DetermineParameters ( ActionExecutionContext context, ParameterInfo requiredParameters ) : object[]

Determines the parameters that a method should be invoked with.

GetDefaultValue ( Type type ) : object

Gets the default value for a type.

메소드 상세

CoerceValue() 공개 정적인 메소드

Coerces the provided value to the destination type.
public static CoerceValue ( Type destinationType, object providedValue ) : object
destinationType System.Type The destination type.
providedValue object The provided value.
리턴 object

CreateResult() 공개 정적인 메소드

Converts the return value of a method into an IResult if possible.
public static CreateResult ( object returnValue ) : SequentialResult
returnValue object The return value of a method.
리턴 SequentialResult

DetermineParameters() 공개 정적인 메소드

Determines the parameters that a method should be invoked with.
public static DetermineParameters ( ActionExecutionContext context, ParameterInfo requiredParameters ) : object[]
context ActionExecutionContext The action execution context.
requiredParameters System.Reflection.ParameterInfo The parameters required to complete the invocation.
리턴 object[]

GetDefaultValue() 공개 정적인 메소드

Gets the default value for a type.
public static GetDefaultValue ( Type type ) : object
type System.Type The type.
리턴 object

프로퍼티 상세

SpecialValues 공개적으로 정적으로 프로퍼티

The special parameter values recognized by the message binder.
public static string[] SpecialValues
리턴 string[]