Exemple #1
0
 public TaskRepository(DummyBackend backend)
 {
     if (backend == null)
     {
         throw new ArgumentNullException("backend");
     }
     this.backend = backend;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #4
0
 public TaskRepository(DummyBackend backend)
 {
     if (backend == null)
         throw new ArgumentNullException ("backend");
     this.backend = backend;
 }