Добавьте файлы проекта.
This commit is contained in:
21
BotPages.Core/Pages/PageNavigate.cs
Normal file
21
BotPages.Core/Pages/PageNavigate.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
/// <summary>
|
||||
/// Параметры навигации на другую страницу.
|
||||
/// </summary>
|
||||
public sealed class PageNavigate
|
||||
{
|
||||
/// <summary>
|
||||
/// Идентификатор страницы, на которую нужно перейти.
|
||||
/// </summary>
|
||||
public required string PageId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Дополнительные аргументы для навигации.
|
||||
/// </summary>
|
||||
public object? Args { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Заменить текущую навигацию на новую.
|
||||
/// </summary>
|
||||
public bool Replace { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user