public object Clone()
        {
            var clonedPoller = new FileSystemPoller(this.PollingInterval, this.Path, this.Filter)
            {
                IncludeSubdirectories = this.IncludeSubdirectories,
                EnableRaisingEvents   = this.EnableRaisingEvents,
                PollingType           = this.PollingType
            };

            return(clonedPoller);
        }
        public object Clone()
        {
            var clonedPoller = new FileSystemPoller(this.PollingInterval, this.Path, this.Filter)
            {
                IncludeSubdirectories = this.IncludeSubdirectories,
                EnableRaisingEvents = this.EnableRaisingEvents,
                PollingType = this.PollingType
            };

            return clonedPoller;
        }