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