Exemplo n.º 1
0
        /// <summary />
        public void ProcessRequest(HttpContext context)
        {
            var presenterBinder = new PresenterBinder(this, context);

            presenterBinder.PerformBinding();

            OnLoad();

            presenterBinder.Release();
        }
Exemplo n.º 2
0
        public void Run()
        {
            _presenterBinder.PerformBinding();

            OnLoad(EventArgs.Empty);

            _presenterBinder.Release();

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

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