Exemplo n.º 1
0
        public void Rename(Mp3File file)
        {
            watch.Start();
            _renamer.Rename(file);
            watch.Stop();

            Elapsed += watch.Elapsed;
            watch.Reset();
        }
Exemplo n.º 2
0
 public void Rename(Mp3File file)
 {
     file.Move(Path.GetDirectoryName(file.Path) + "New" + Path.GetFileName(file.Path));
 }
Exemplo n.º 3
0
 public bool CheckPermissions(Mp3File file, UserRole role)
 {
     return(role > (int)UserRole.Guest);
 }