C# Class 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.
Inheritance: Spring.Objects.Support.MethodInvoker
Mostrar archivo Open project: spring-projects/spring-net Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
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.

Method Details

ArgumentConvertingMethodInvoker() public method

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

Prepare() public method

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
return void

RegisterCustomConverter() public method

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. ///
return void