public HandlerExecutor(TypeInfo targetHandlerTypeInfo, MethodInfo handlerActionMethodInfo, object[] defaultParameters) { _targetHandlerTypeInfo = targetHandlerTypeInfo; _handlerActionMethodInfo = handlerActionMethodInfo; _handlerActionDefaultParameters = defaultParameters; _executor = BuildExecutor(); MethodParameters = handlerActionMethodInfo.GetParameters(); }
public HandlerExecutor(TypeInfo targetHandlerTypeInfo, MethodInfo handlerActionMethodInfo, object[] defaultParameters) { this.targetHandlerTypeInfo = targetHandlerTypeInfo; this.handlerActionMethodInfo = handlerActionMethodInfo; this.handlerActionDefaultParameters = defaultParameters; this.executor = this.BuildExecutor(); this.MethodParameters = handlerActionMethodInfo.GetParameters(); }