C# Class Castle.MonoRail.Framework.Helpers.DynamicDispatchSupport

DynamicDispatch support is an infrastructure that mimics a dynamic language/environment. It is not finished but the idea is to allow plugins to add operations to the generators.
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Dispatch ( string method ) : object

Dispatches the specified method.

IsGeneratorMethod ( string method ) : bool

Determines whether [is generator method] [the specified method].

Protected Methods

Method Description
PopulateAvailableMethods ( IDictionary generatorMethods, MethodInfo methods ) : void

Populates the available methods.

Private Methods

Method Description
BuildMethodArgs ( MethodInfo method, object methodArguments, int paramArrayIndex ) : object[]

Method Details

Dispatch() public method

Dispatches the specified method.
public Dispatch ( string method ) : object
method string The method.
return object

IsGeneratorMethod() public method

Determines whether [is generator method] [the specified method].
public IsGeneratorMethod ( string method ) : bool
method string The method.
return bool

PopulateAvailableMethods() protected static method

Populates the available methods.
protected static PopulateAvailableMethods ( IDictionary generatorMethods, MethodInfo methods ) : void
generatorMethods IDictionary The generator methods.
methods System.Reflection.MethodInfo The methods.
return void