public SPSFacade(ISPSMediator dispatcher, string pathfile = "test.sps") : base(dispatcher)
        {
            string str = pathfile ?? throw new ArgumentNullException(paramName: nameof(pathfile));

            db = new SPSFile(str);
            db.Read();
        }
Exemple #2
0
 public CreateSPSdb(SPSFile db, string path)
 {
     this.path = path ?? throw new ArgumentNullException(paramName: nameof(path));
     if (db == null)
     {
         throw new ArgumentNullException(paramName: nameof(db));
     }
     this.db = db;
 }