Exemplo n.º 1
0
 public TaskRepository(DummyBackend backend)
 {
     if (backend == null)
     {
         throw new ArgumentNullException("backend");
     }
     this.backend = backend;
 }
Exemplo n.º 2
0
 public DummyTask(DummyBackend backend, int id, string taskName)
 {
     this.backend = backend;
     this.id = id;
     this.name = taskName;
     this.dueDate = DateTime.MinValue; // No due date specified
     this.completionDate = DateTime.MinValue; // No due date specified
     this.priority = TaskPriority.None;
     this.state = TaskState.Active;
 }
Exemplo n.º 3
0
 public DummyTask(DummyBackend backend, int id, string taskName)
 {
     this.backend        = backend;
     this.id             = id;
     this.name           = taskName;
     this.dueDate        = DateTime.MinValue;      // No due date specified
     this.completionDate = DateTime.MinValue;      // No due date specified
     this.priority       = TaskPriority.None;
     this.state          = TaskState.Active;
 }
Exemplo n.º 4
0
 public TaskRepository(DummyBackend backend)
 {
     if (backend == null)
         throw new ArgumentNullException ("backend");
     this.backend = backend;
 }