Cleaning up the solution. Separating Shared.WinRT, Services and Synchronization. Removing synchronization from app. Reducing bundle size by 45mb.

This commit is contained in:
Burak Kaan Köse
2024-07-21 05:45:02 +02:00
parent f112f369a7
commit 495885e006
523 changed files with 2254 additions and 2375 deletions

View File

@@ -1,6 +1,6 @@
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class AccountSetupCanceledException : System.Exception
public class AccountSetupCanceledException : Exception
{
}

View File

@@ -1,7 +1,7 @@
using System;
using Wino.Core.Domain.Entities;
using Wino.Domain.Entities;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// Thrown when IAuthenticator requires user interaction to fix authentication issues.

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// All exceptions related to authentication.

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// An exception thrown when the background task execution policies are denied for some reason.

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// An exception thrown when the background task registration is failed.

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// Thrown when composer cant find the mime to load.

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class CustomThemeCreationFailedException : Exception
{

View File

@@ -1,6 +1,6 @@
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class GoogleAuthenticationException : System.Exception
public class GoogleAuthenticationException : Exception
{
public GoogleAuthenticationException(string message) : base(message) { }
}

View File

@@ -1,6 +1,4 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class ImapClientPoolException : Exception
{

View File

@@ -1,7 +1,7 @@
using System;
using Wino.Core.Domain.Models.AutoDiscovery;
using Wino.Domain.Models.AutoDiscovery;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class ImapConnectionFailedPackage
{

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class InvalidMoveTargetException : Exception { }
}

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class SynchronizerEntityNotFoundException : Exception
{

View File

@@ -1,6 +1,6 @@
using System;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
public class SynchronizerException : Exception
{

View File

@@ -1,7 +1,7 @@
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// When IMAP account's system folder configuration setup is not done yet.
/// </summary>
public class SystemFolderConfigurationMissingException : System.Exception { }
public class SystemFolderConfigurationMissingException : Exception { }
}

View File

@@ -1,7 +1,7 @@
using System;
using Wino.Core.Domain.Enums;
using Wino.Domain.Enums;
namespace Wino.Core.Domain.Exceptions
namespace Wino.Domain.Exceptions
{
/// <summary>
/// Emitted when special folder is needed for an operation but it couldn't be found.