public void Rename(Mp3File file) { if (_checker.CheckPermissions(file, _role)) { _renamer.Rename(file); } }
public void Rename(MP3File file) { if (permitionsChecker.Check(file, userPermitions)) { fileRenamer.Rename(file); } }
public void Rename(MP3File file) { stopwatch.Start(); fileRenamer.Rename(file); stopwatch.Stop(); ElapsedTime += stopwatch.Elapsed; stopwatch.Reset(); }
public void Rename(Mp3File file) { watch.Start(); _renamer.Rename(file); watch.Stop(); Elapsed += watch.Elapsed; watch.Reset(); }