File scoped namespaces

This commit is contained in:
Aleh Khantsevich
2025-02-16 11:35:43 +01:00
committed by GitHub
parent c1336428dc
commit d31d8f574e
617 changed files with 32118 additions and 32737 deletions

View File

@@ -1,8 +1,7 @@
namespace Wino.Messaging.Client.Shell
{
/// <summary>
/// When the application theme changed.
/// </summary>
/// <param name="IsUnderlyingThemeDark"></param>
public record ApplicationThemeChanged(bool IsUnderlyingThemeDark);
}
namespace Wino.Messaging.Client.Shell;
/// <summary>
/// When the application theme changed.
/// </summary>
/// <param name="IsUnderlyingThemeDark"></param>
public record ApplicationThemeChanged(bool IsUnderlyingThemeDark);

View File

@@ -1,16 +1,15 @@
using System.Collections.Generic;
using Wino.Core.Domain.Entities.Shared;
namespace Wino.Messaging.Client.Shell
{
/// <summary>
/// When
/// - There is no selection of any folder for any account
/// - Multiple accounts exists
/// - User clicked 'Create New Mail'
///
/// flyout must be presented to pick correct account.
/// This message will be picked up by UWP Shell.
/// </summary>
public record CreateNewMailWithMultipleAccountsRequested(IEnumerable<MailAccount> AllAccounts);
}
namespace Wino.Messaging.Client.Shell;
/// <summary>
/// When
/// - There is no selection of any folder for any account
/// - Multiple accounts exists
/// - User clicked 'Create New Mail'
///
/// flyout must be presented to pick correct account.
/// This message will be picked up by UWP Shell.
/// </summary>
public record CreateNewMailWithMultipleAccountsRequested(IEnumerable<MailAccount> AllAccounts);

View File

@@ -1,17 +1,16 @@
using System;
using Wino.Core.Domain.Enums;
namespace Wino.Messaging.Client.Shell
{
/// <summary>
/// For displaying right sliding notification message in shell.
/// </summary>
/// <param name="Severity">Severity of notification.</param>
/// <param name="Title">Title of the message.</param>
/// <param name="Message">Message content.</param>
public record InfoBarMessageRequested(InfoBarMessageType Severity,
string Title,
string Message,
string ActionButtonTitle = "",
Action Action = null);
}
namespace Wino.Messaging.Client.Shell;
/// <summary>
/// For displaying right sliding notification message in shell.
/// </summary>
/// <param name="Severity">Severity of notification.</param>
/// <param name="Title">Title of the message.</param>
/// <param name="Message">Message content.</param>
public record InfoBarMessageRequested(InfoBarMessageType Severity,
string Title,
string Message,
string ActionButtonTitle = "",
Action Action = null);

View File

@@ -1,7 +1,6 @@
namespace Wino.Messaging.Client.Shell
{
/// <summary>
/// When application language is updated.
/// </summary>
public record LanguageChanged;
}
namespace Wino.Messaging.Client.Shell;
/// <summary>
/// When application language is updated.
/// </summary>
public record LanguageChanged;

View File

@@ -1,4 +1,3 @@
namespace Wino.Messaging.Client.Shell
{
public class MailtoProtocolMessageRequested { }
}
namespace Wino.Messaging.Client.Shell;
public class MailtoProtocolMessageRequested { }