Make region selector shower instead of whole screen )
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
namespace EveOPreview
|
||||
{
|
||||
public abstract class Presenter<TView> : IPresenter
|
||||
where TView : IView
|
||||
{
|
||||
// Properties are used instead of fields so the code remains CLS compliant
|
||||
// 'protected readonly' fields would result in non-CLS compliant code
|
||||
protected TView View { get; private set; }
|
||||
protected IApplicationController Controller { get; private set; }
|
||||
namespace EveOPreview {
|
||||
public abstract class Presenter<TView> : IPresenter
|
||||
where TView : IView {
|
||||
// Properties are used instead of fields so the code remains CLS compliant
|
||||
// 'protected readonly' fields would result in non-CLS compliant code
|
||||
protected TView View { get; private set; }
|
||||
protected IApplicationController Controller { get; private set; }
|
||||
|
||||
protected Presenter(IApplicationController controller, TView view)
|
||||
{
|
||||
this.Controller = controller;
|
||||
this.View = view;
|
||||
}
|
||||
protected Presenter(IApplicationController controller, TView view) {
|
||||
this.Controller = controller;
|
||||
this.View = view;
|
||||
}
|
||||
|
||||
public void Run()
|
||||
{
|
||||
this.View.Show();
|
||||
}
|
||||
}
|
||||
public void Run() {
|
||||
this.View.Show();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user