Skip to content

Commit 41dea3f

Browse files
General improvements 04-02-2025 (#35)
1 parent 55b1089 commit 41dea3f

File tree

46 files changed

+106
-340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+106
-340
lines changed

src/ByteSync.Client/ByteSync.Client.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,4 @@
216216
<SubType>Code</SubType>
217217
</Compile>
218218
</ItemGroup>
219-
<ItemGroup>
220-
<Folder Include="ViewModels\Sessions\Cloud" />
221-
<Folder Include="ViewModels\Sessions\Settings\" />
222-
</ItemGroup>
223219
</Project>

src/ByteSync.Client/DependencyInjection/Modules/SingletonsModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected override void Load(ContainerBuilder builder)
2828
builder.RegisterType<PushReceiversStarter>().SingleInstance().AsImplementedInterfaces();
2929

3030
builder.RegisterType<DataInventoryStarter>().SingleInstance().AsImplementedInterfaces();
31-
builder.RegisterType<CloudSessionConnector>().SingleInstance().AsImplementedInterfaces();
31+
builder.RegisterType<CloudSessionConnectionService>().SingleInstance().AsImplementedInterfaces();
3232
builder.RegisterType<FileDownloaderCache>().SingleInstance().AsImplementedInterfaces();
3333
builder.RegisterType<CommandLineModeHandler>().SingleInstance().AsImplementedInterfaces();
3434
builder.RegisterType<SynchronizationStarter>().SingleInstance().AsImplementedInterfaces();

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/IAfterJoinSessionService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Threading;
2-
using System.Threading.Tasks;
3-
using ByteSync.Business.Sessions.Connecting;
1+
using ByteSync.Business.Sessions.Connecting;
42

53
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
64

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/ICheckCloudSessionPasswordExchangeKeyService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Threading;
2-
using System.Threading.Tasks;
3-
using ByteSync.Common.Business.Sessions.Cloud.Connections;
1+
using ByteSync.Common.Business.Sessions.Cloud.Connections;
42

53
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
64

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/ICloudSessionConnector.cs renamed to src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/ICloudSessionConnectionService.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
using System.Threading.Tasks;
2-
using ByteSync.Business.Sessions;
1+
using ByteSync.Business.Sessions;
32
using ByteSync.Business.Sessions.Connecting;
4-
using ByteSync.Business.Sessions.RunSessionInfos;
53
using ByteSync.Common.Business.Sessions.Cloud.Connections;
64

75
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
86

9-
public interface ICloudSessionConnector
7+
public interface ICloudSessionConnectionService
108
{
11-
Task ClearConnectionData();
12-
139
IObservable<bool> CanLogOutOrShutdown { get; }
1410

11+
Task ClearConnectionData();
12+
1513
Task InitializeConnection(SessionConnectionStatus creatingSession);
1614

1715
Task OnJoinSessionError(JoinSessionResult joinSessionResult);

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/ICloudSessionPasswordExchangeKeyAskedService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Threading;
2-
using System.Threading.Tasks;
3-
using ByteSync.Common.Business.Sessions.Cloud.Connections;
1+
using ByteSync.Common.Business.Sessions.Cloud.Connections;
42

53
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
64

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/ICloudSessionPasswordExchangeKeyGivenService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Threading;
2-
using System.Threading.Tasks;
3-
using ByteSync.Common.Business.Sessions.Cloud.Connections;
1+
using ByteSync.Common.Business.Sessions.Cloud.Connections;
42

53
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
64

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/IJoinSessionService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Threading.Tasks;
2-
using ByteSync.Business.Sessions.RunSessionInfos;
1+
using ByteSync.Business.Sessions.RunSessionInfos;
32

43
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
54

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/IQuitSessionService.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Threading.Tasks;
2-
3-
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
1+
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
42

53
public interface IQuitSessionService
64
{

src/ByteSync.Client/Interfaces/Services/Sessions/Connecting/IYouGaveAWrongPasswordService.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System.Threading;
2-
using System.Threading.Tasks;
3-
4-
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
1+
namespace ByteSync.Interfaces.Services.Sessions.Connecting;
52

63
public interface IYouGaveAWrongPasswordService
74
{

0 commit comments

Comments
 (0)