diff --git a/ArchiSteamFarm/Collections/ConcurrentList.cs b/ArchiSteamFarm/Collections/ConcurrentList.cs index 9d5ae73db..bac03c68c 100644 --- a/ArchiSteamFarm/Collections/ConcurrentList.cs +++ b/ArchiSteamFarm/Collections/ConcurrentList.cs @@ -32,6 +32,7 @@ public sealed class ConcurrentList : IList, IReadOnlyList where T : not [PublicAPI] public event EventHandler? OnModified; + [PublicAPI] public int Count { get { using (Lock.ReaderLock()) { @@ -157,6 +158,7 @@ public sealed class ConcurrentList : IList, IReadOnlyList where T : not IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); + [PublicAPI] public void ReplaceWith(IEnumerable collection) { ArgumentNullException.ThrowIfNull(collection); diff --git a/ArchiSteamFarm/Collections/ObservableConcurrentDictionary.cs b/ArchiSteamFarm/Collections/ObservableConcurrentDictionary.cs index 55a4d8e6a..8c99a9ee0 100644 --- a/ArchiSteamFarm/Collections/ObservableConcurrentDictionary.cs +++ b/ArchiSteamFarm/Collections/ObservableConcurrentDictionary.cs @@ -29,6 +29,7 @@ using JetBrains.Annotations; namespace ArchiSteamFarm.Collections; public sealed class ObservableConcurrentDictionary : IDictionary, IReadOnlyDictionary where TKey : notnull { + [PublicAPI] public event EventHandler? OnModified; [PublicAPI]