/// <summary /> public void ProcessRequest(HttpContext context) { var presenterBinder = new PresenterBinder(this, context); presenterBinder.PerformBinding(); OnLoad(); presenterBinder.Release(); }
public void Run() { _presenterBinder.PerformBinding(); OnLoad(EventArgs.Empty); _presenterBinder.Release(); OnCompleted(EventArgs.Empty); }
public KryControlBase() { if (DesignMode) { return; } try { ThrowExceptionIfNoPresenterBound = true; presenterBinder.PerformBinding(this); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
public KryViewBase() { InitializeComponent(); if (DesignMode) { return; } try { ThrowExceptionIfNoPresenterBound = true; presenterBinder.PerformBinding(this); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
public MvpPanel() { ThrowExceptionIfNoPresenterBound = true; presenterBinder.PerformBinding(this); }
void Control_Init(object sender, EventArgs e) { presenterBinder.PerformBinding(); }
/// <summary /> protected MvpWebService(bool throwExceptionIfNoPresenterBound) { this.throwExceptionIfNoPresenterBound = throwExceptionIfNoPresenterBound; presenterBinder = new PresenterBinder(this, HttpContext.Current); presenterBinder.PerformBinding(); }
void Page_InitComplete(object sender, EventArgs e) { presenterBinder.PerformBinding(); }