Skip to content

Commit

Permalink
Update PollingFileSystemWatcher.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Jul 5, 2023
1 parent 5c7a4c8 commit 846b99a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class PollingFileSystemWatcher : IDisposable, ISerializable
{
private Timer _timer;
private readonly PathToFileStateHashtable _state; // stores state of the directory
private long _version; // this is used to keep track of removals. // TODO: describe the algorithm
private long _version; // this is used to keep track of removals.
private bool _started;
private bool _disposed;
private long _pollingInterval = 1000;
Expand Down Expand Up @@ -71,7 +71,7 @@ private void Initialize()
_ = _timer.Change(PollingInterval, Timeout.Infinite);
}

public EnumerationOptions EnumerationOptions { get; set; } = new EnumerationOptions();
public EnumerationOptions EnumerationOptions { get; set; }
public string Filter { get; set; }
public string Path { get; set; }

Expand Down

0 comments on commit 846b99a

Please sign in to comment.