Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void startWatching() throws InterruptedException
        public override void StartWatching()
        {
            _adversary.injectFailure(typeof(InterruptedException));
            _fileWatcher.startWatching();
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void startWatching() throws InterruptedException
        public override void StartWatching()
        {
            _defaultFileWatcher.startWatching();
            _specificFileWatcher.startWatching();
        }