master
1using System;
2using MVPtoMVVM.mvp.presenters;
3
4namespace MVPtoMVVM.mvp.views
5{
6 public interface ITodoItemView
7 {
8 int Id { get; set; }
9 string Description { get; set; }
10 DateTime DueDate { get; set; }
11 bool SaveButtonEnabled { get; set; }
12 ITodoItemPresenter Presenter { get; }
13 bool DescriptionHasValidationErrors { set; }
14 bool DueDateHasValidationErrors { set; }
15 bool IsDueSoon { set; }
16 string DescriptionValidationMessage { set; }
17 string DueDateValidationMessage { set; }
18 void Remove(int itemId);
19 }
20}