Example #1
0
 public SqliteTaskRepository(SqliteBackend backend, Database database)
 {
     if (backend == null)
         throw new ArgumentNullException ("backend");
     if (database == null)
         throw new ArgumentNullException ("database");
     this.backend = backend;
     this.database = database;
 }
 public SqliteTaskRepository(SqliteBackend backend, Database database)
 {
     if (backend == null)
     {
         throw new ArgumentNullException("backend");
     }
     if (database == null)
     {
         throw new ArgumentNullException("database");
     }
     this.backend  = backend;
     this.database = database;
 }