C# 클래스 Spring.Objects.Support.ArgumentConvertingMethodInvoker

Specialisation of the MethodInvoker class that tries to convert the given arguments for the actual target method via an appropriate Spring.Objects.IObjectWrapper implementation.
상속: Spring.Objects.Support.MethodInvoker
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ArgumentConvertingMethodInvoker ( ) : System

Creates a new instance of the Spring.Objects.Support.ArgumentConvertingMethodInvoker class.

Prepare ( ) : void

Prepare the specified method.

The method can be invoked any number of times afterwards.

RegisterCustomConverter ( Type requiredType, TypeConverter typeConverter ) : void

Register the given custom System.ComponentModel.TypeConverter for all properties of the given System.Type.

메소드 상세

ArgumentConvertingMethodInvoker() 공개 메소드

Creates a new instance of the Spring.Objects.Support.ArgumentConvertingMethodInvoker class.
public ArgumentConvertingMethodInvoker ( ) : System
리턴 System

Prepare() 공개 메소드

Prepare the specified method.

The method can be invoked any number of times afterwards.

/// If all required properties are not set. /// /// If the specified method could not be found. ///
public Prepare ( ) : void
리턴 void

RegisterCustomConverter() 공개 메소드

Register the given custom System.ComponentModel.TypeConverter for all properties of the given System.Type.
public RegisterCustomConverter ( Type requiredType, TypeConverter typeConverter ) : void
requiredType System.Type /// The of property. ///
typeConverter System.ComponentModel.TypeConverter /// The to register. ///
리턴 void