Example #1
0
 public void CleanerConfigurator(CleanerConfiguration conf)
 {
     ConfigurationOfCleaner = conf;
     TypeOfCleaner          = conf.CleanerT;
     TypeOfGibrid           = conf.Gibrid;
     Cleaner();
 }
Example #2
0
 public BackUp(int Id, bool TypeOfStorage, CleanerConfiguration Conf)
 {
     FilesToSave            = new List <string>();
     Points                 = new Queue <RestrorePointInterface>();
     CreationTIme           = DateTime.Now;
     ID                     = Id;
     isFolder               = TypeOfStorage;
     TypeOfCleaner          = Conf.CleanerT;
     TypeOfGibrid           = Conf.Gibrid;
     ConfigurationOfCleaner = Conf;
     CreateSuccesful        = false;
 }
Example #3
0
        public BackUp()
        {
            CreationTIme = DateTime.Now;
            Random rnd = new Random();

            ID              = rnd.Next();
            FilesToSave     = new List <string>();
            Points          = new Queue <RestrorePointInterface>();
            isFolder        = true;
            TypeOfCleaner   = new CleanerConfiguration().CleanerT;
            TypeOfGibrid    = new CleanerConfiguration().Gibrid;
            CreateSuccesful = false;
        }