예제 #1
0
 private static async Task DecryptFileAsync()
 {
     IFile file = new LocalFile(_args.Path);
     await _encryptor.DecryptAsync(file);
 }
예제 #2
0
 public async Task DecryptAsync_ThrowsArgumentNullException_WhenFileParamIsNull()
 {
     await _fileEncryptor.DecryptAsync((IFile)null);
 }