Packagecom.asfusion.mate.core
Classpublic class MethodCaller

MethodCaller has the ability to call a method on any object. If an error ocurrs, it will send it to the logger.



Public Properties
 PropertyDefined by
  logger : IMateLogger
An IMateLogger used to log errors.
MethodCaller
Public Methods
 MethodDefined by
  
call(scope:IScope, instance:String, method:Boolean, args:*, parseArguments:* = true):*
The function used to call methods on objects.
MethodCaller
Property detail
loggerproperty
public var logger:IMateLogger

An IMateLogger used to log errors. Similar to Flex ILogger

Method detail
call()method
public function call(scope:IScope, instance:String, method:Boolean, args:*, parseArguments:* = true):*

The function used to call methods on objects. It can also call methods that have arguments if they are provided.

Parameters
scope:IScope
 
instance:String
 
method:Boolean
 
args:*
 
parseArguments:* (default = true)

Returns
*