/// <summary> /// Initializes a new instance of the <see cref="WatchRegistration" /> class. /// </summary> /// <param name="watcher">The watcher.</param> /// <param name="clientPath">The client path.</param> protected WatchRegistration(Watcher watcher, string clientPath) { this.watcher = watcher; this.clientPath = clientPath; }
/// <summary> /// Initializes a new instance of the <see cref="ChildWatchRegistration" /> class. /// </summary> /// <param name="watchManager">The watch manager.</param> /// <param name="watcher">The watcher.</param> /// <param name="clientPath">The client path.</param> public ChildWatchRegistration(IClientWatchManager watchManager, Watcher watcher, string clientPath) : base(watcher, clientPath) { this.watchManager = watchManager; }