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

            presenterBinder.PerformBinding();

            OnLoad();

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

            OnLoad(EventArgs.Empty);

            _presenterBinder.Release();

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

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