Skip to content

Commit 1cac07f

Browse files
committed
fixed format
1 parent 8188a7b commit 1cac07f

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Source/FileWatcherEx/FileSystemWatcherEx.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,17 @@ public class FileSystemWatcherEx : IDisposable
4040
/// <summary>
4141
/// Filter string used for determining what files are monitored in a directory
4242
/// </summary>
43-
public string Filter {
43+
public string Filter
44+
{
4445
get
4546
{
4647
return Filters.Count == 0 ? "*" : Filters[0];
47-
}
48+
}
4849
set
4950
{
5051
Filters.Clear();
5152
Filters.Add(value);
52-
}
53+
}
5354
}
5455

5556

@@ -230,7 +231,7 @@ void onError(ErrorEventArgs e)
230231

231232
_fsw = _watcher.Create(FolderPath, onEvent, onError);
232233

233-
foreach(var filter in Filters)
234+
foreach (var filter in Filters)
234235
{
235236
_fsw.Filters.Add(filter);
236237
}
@@ -281,7 +282,7 @@ public void Stop()
281282
// stop the thread
282283
_cancelSource.Cancel();
283284
}
284-
285+
285286

286287

287288
/// <summary>

0 commit comments

Comments
 (0)