Example #1
0
 private void ExecuteWrite(bool subscribe)
 {
     if (FileheHandler.Write(Code, Path, subscribe))
     {
         Console.WriteLine($"{NameFile} criado com sucesso!");
     }
 }
Example #2
0
 public void Execute(string code, string path, string nameFile, bool subscribe)
 {
     Code     = code;
     Path     = path;
     NameFile = nameFile;
     FileheHandler.SetArchive($"{path}\\{nameFile}");
     ExecuteWrite(subscribe);
 }