예제 #1
0
        /// <summary />
        public void ProcessRequest(HttpContext context)
        {
            var presenterBinder = new PresenterBinder(this, context);

            presenterBinder.PerformBinding();

            OnLoad();

            presenterBinder.Release();
        }
예제 #2
0
        public void Run()
        {
            _presenterBinder.PerformBinding();

            OnLoad(EventArgs.Empty);

            _presenterBinder.Release();

            OnCompleted(EventArgs.Empty);
        }
예제 #3
0
 public KryControlBase()
 {
     if (DesignMode)
     {
         return;
     }
     try
     {
         ThrowExceptionIfNoPresenterBound = true;
         presenterBinder.PerformBinding(this);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
예제 #4
0
 public KryViewBase()
 {
     InitializeComponent();
     if (DesignMode)
     {
         return;
     }
     try
     {
         ThrowExceptionIfNoPresenterBound = true;
         presenterBinder.PerformBinding(this);
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.ToString());
     }
 }
예제 #5
0
        public MvpPanel()
        {
            ThrowExceptionIfNoPresenterBound = true;

            presenterBinder.PerformBinding(this);
        }
예제 #6
0
 void Control_Init(object sender, EventArgs e)
 {
     presenterBinder.PerformBinding();
 }
예제 #7
0
 /// <summary />
 protected MvpWebService(bool throwExceptionIfNoPresenterBound)
 {
     this.throwExceptionIfNoPresenterBound = throwExceptionIfNoPresenterBound;
     presenterBinder = new PresenterBinder(this, HttpContext.Current);
     presenterBinder.PerformBinding();
 }
예제 #8
0
 void Page_InitComplete(object sender, EventArgs e)
 {
     presenterBinder.PerformBinding();
 }