public void Execute(ReadFileCommand <byte[]> command)
 {
     command.Result = file.ReadAllBytes(command.FilePath);
 }
Exemplo n.º 2
0
 public void Execute(ReadKeyFromFileCommand readKeyCommand)
 {
     readKeyCommand.FileContent = file.ReadAllBytes(readKeyCommand.FilePath);
 }