Skip to content

Commit ed1d83b

Browse files
committed
add InitialSyncCompleted event
1 parent 507a20d commit ed1d83b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CSync/Lib/SyncedConfig.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System;
12
using System.Linq;
23
using System.Reflection;
34
using System.Runtime.Serialization;
@@ -38,4 +39,7 @@ internal void PopulateEntryContainer()
3839
EntryContainer.Add(entryBase.BoxedEntry.ToSyncedEntryIdentifier(), entryBase);
3940
}
4041
}
42+
43+
public event EventHandler? InitialSyncCompleted;
44+
internal void OnInitialSyncCompleted(object sender, EventArgs e) => InitialSyncCompleted?.Invoke(sender, e);
4145
}

0 commit comments

Comments
 (0)