コード例 #1
0
        public object Clone()
        {
            var clonedPoller = new FileSystemPoller(this.PollingInterval, this.Path, this.Filter)
            {
                IncludeSubdirectories = this.IncludeSubdirectories,
                EnableRaisingEvents   = this.EnableRaisingEvents,
                PollingType           = this.PollingType
            };

            return(clonedPoller);
        }
コード例 #2
0
        public object Clone()
        {
            var clonedPoller = new FileSystemPoller(this.PollingInterval, this.Path, this.Filter)
            {
                IncludeSubdirectories = this.IncludeSubdirectories,
                EnableRaisingEvents = this.EnableRaisingEvents,
                PollingType = this.PollingType
            };

            return clonedPoller;
        }