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