diff --git a/src/ByteSync.Client/ByteSync.Client.csproj b/src/ByteSync.Client/ByteSync.Client.csproj index 1c7d7608c..df882e8c2 100644 --- a/src/ByteSync.Client/ByteSync.Client.csproj +++ b/src/ByteSync.Client/ByteSync.Client.csproj @@ -51,50 +51,50 @@ - + - - - - - + + + + + - - - - + + + - + - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + - - + + + diff --git a/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs b/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs index 3aa7ee5ae..d6c87a97f 100644 --- a/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs +++ b/src/ByteSync.Client/Repositories/SharedActionsGroupRepository.cs @@ -1,5 +1,4 @@ -using System.Threading.Tasks; -using ByteSync.Business.Actions.Shared; +using ByteSync.Business.Actions.Shared; using ByteSync.Common.Business.Actions; using ByteSync.Common.Business.Synchronizations; using ByteSync.Interfaces.Repositories; @@ -17,7 +16,7 @@ public SharedActionsGroupRepository(ISessionInvalidationCachePolicy(); + OrganizedSharedActionsGroups = []; _sessionInvalidationCachePolicy = sessionInvalidationCachePolicy; _sessionInvalidationCachePolicy.Initialize(SourceCache, true, true); @@ -25,17 +24,13 @@ public SharedActionsGroupRepository(ISessionInvalidationCachePolicy sharedAtomicAction.ActionsGroupId; - public IObservableCache SharedActionsGroups => ObservableCache; - - public IEnumerable SharedActionsGroupsList => SourceCache.Items; - public List OrganizedSharedActionsGroups { get; private set; } public List GetActionsGroupsDefinitions() { - List result = new List(); + List result = []; - foreach (var sharedActionsGroup in SharedActionsGroupsList) + foreach (var sharedActionsGroup in SourceCache.Items) { result.Add(sharedActionsGroup.GetDefinition()); } diff --git a/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml b/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml index f580f1e34..5c2d9e8b4 100644 --- a/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml +++ b/src/ByteSync.Client/Views/Sessions/Comparisons/Results/ContentRepartitionView.axaml @@ -19,7 +19,7 @@ - diff --git a/src/ByteSync.Common/ByteSync.Common.csproj b/src/ByteSync.Common/ByteSync.Common.csproj index 9b4cadfea..02fb299a9 100644 --- a/src/ByteSync.Common/ByteSync.Common.csproj +++ b/src/ByteSync.Common/ByteSync.Common.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/src/ByteSync.Functions/ByteSync.Functions.csproj b/src/ByteSync.Functions/ByteSync.Functions.csproj index c2308f17b..785c155dc 100644 --- a/src/ByteSync.Functions/ByteSync.Functions.csproj +++ b/src/ByteSync.Functions/ByteSync.Functions.csproj @@ -8,9 +8,9 @@ fad123b6-a5bb-4773-8a56-3af68f41292c - + - + @@ -20,14 +20,14 @@ - - - + + + - + diff --git a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj index dc3f806b2..bd084c5c8 100644 --- a/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj +++ b/src/ByteSync.ServerCommon/ByteSync.ServerCommon.csproj @@ -8,20 +8,20 @@ - - - + + + - - - + + + - + - + diff --git a/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj b/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj index 6b6f1bd75..5b7f69769 100644 --- a/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj +++ b/tests/ByteSync.Client.IntegrationTests/ByteSync.Client.IntegrationTests.csproj @@ -10,20 +10,20 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj b/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj index b8a52ccf2..0f7b89e6c 100644 --- a/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj +++ b/tests/ByteSync.Client.Tests/ByteSync.Client.Tests.csproj @@ -15,15 +15,15 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj b/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj index ed5bce725..745759f35 100644 --- a/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj +++ b/tests/ByteSync.Common.Tests/ByteSync.Common.Tests.csproj @@ -9,10 +9,10 @@ - + - - + + diff --git a/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj b/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj index ae29d60d6..98b25442d 100644 --- a/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj +++ b/tests/ByteSync.Functions.IntegrationTests/ByteSync.Functions.IntegrationTests.csproj @@ -11,17 +11,17 @@ - + - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj b/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj index b0cb84e2d..e3e52bf00 100644 --- a/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj +++ b/tests/ByteSync.Functions.UnitTests/ByteSync.Functions.UnitTests.csproj @@ -11,16 +11,17 @@ - + + - + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj b/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj index 7420e4204..90100f74a 100644 --- a/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj +++ b/tests/ByteSync.ServerCommon.Tests/ByteSync.ServerCommon.Tests.csproj @@ -11,17 +11,17 @@ - - + + - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj b/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj index 2e5d94de2..58e9c7341 100644 --- a/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj +++ b/tests/ByteSync.TestsCommon/ByteSync.TestsCommon.csproj @@ -11,10 +11,10 @@ - - + + - +