예제 #1
0
 public Repository[] GetRepositories(User user)
 {
     _current++;
     if (_current == 4) _current = 1;
     Thread.Sleep(2000);
     return _repositories[_current];
 }
예제 #2
0
 protected bool Equals(User other)
 {
     return string.Equals(Name, other.Name);
 }