Beispiel #1
0
 public ArchiveCryptManager(ref CryptoManager crypt)
 {
     path           = PathOption.GetInstance();
     cryptor        = new CryptOption();
     archivator     = new ArchiveOption();
     archiveCrypt   = new ArchiveCryptOption();
     cryptor.Crypto = crypt;
 }
Beispiel #2
0
 public static PathOption GetInstance()
 {
     if (instance == null)
     {
         instance = new PathOption();
     }
     return(instance);
 }
Beispiel #3
0
 public ArchiveOption()
 {
     _path = PathOption.GetInstance();
 }
Beispiel #4
0
 public CryptOption()
 {
     _path = PathOption.GetInstance();
 }