コード例 #1
0
    public HandlerExecutor(TypeInfo targetHandlerTypeInfo, MethodInfo handlerActionMethodInfo, object[] defaultParameters)
    {
        _targetHandlerTypeInfo          = targetHandlerTypeInfo;
        _handlerActionMethodInfo        = handlerActionMethodInfo;
        _handlerActionDefaultParameters = defaultParameters;
        _executor = BuildExecutor();

        MethodParameters = handlerActionMethodInfo.GetParameters();
    }
コード例 #2
0
        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();
        }