public FileChangeNotificationSystemEntry (string dirPath, FileChangeNotificationSystem owner)
		{
			if (String.IsNullOrEmpty (dirPath))
				throw new ArgumentNullException ("dirPath");

			if (owner == null)
				throw new ArgumentNullException ("owner");
			
			watchedDirPath = dirPath;
			this.owner = owner;
		}
Esempio n. 2
0
        public FileChangeNotificationSystemEntry(string dirPath, FileChangeNotificationSystem owner)
        {
            if (String.IsNullOrEmpty(dirPath))
            {
                throw new ArgumentNullException("dirPath");
            }

            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            watchedDirPath = dirPath;
            this.owner     = owner;
        }