/*----------------------------------------------------------------------------------------*/ #region Public Methods /// <summary> /// Calls the method associated with the injector. /// </summary> /// <param name="target">The instance on which to call the method.</param> /// <param name="arguments">The arguments to pass to the method.</param> /// <returns>The return value of the method.</returns> public object Invoke(object target, params object[] arguments) { if (_invoker == null) { _invoker = DynamicMethodFactory.CreateInvoker(Member); } return(_invoker.Invoke(target, arguments)); }