示例#1
0
        public override object GetValue(IHttpContext context)
        {
            EventParameterBinding e = new EventParameterBinding();

            e.ActionHandler = this.ActionHandler;
            e.Context       = context;
            e.Type          = Type;
            ActionHandlerFactory.OnParameterBinding(e);
            return(e.Parameter);
        }
 internal void OnParameterBinding(EventParameterBinding e)
 {
     ParameterBinding?.Invoke(this, e);
 }