You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
620 B
25 lines
620 B
|
1 month ago
|
using AuroraDesk.Core.Entities;
|
||
|
|
using System.Collections.ObjectModel;
|
||
|
|
|
||
|
|
namespace AuroraDesk.Core.Interfaces;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 导航服务接口
|
||
|
|
/// </summary>
|
||
|
|
public interface INavigationService
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 获取导航项列表
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="screen">路由屏幕实例</param>
|
||
|
|
/// <returns>导航项集合</returns>
|
||
|
|
ObservableCollection<NavigationItem> GetNavigationItems(ReactiveUI.IScreen screen);
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 导航到指定页面
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="item">导航项</param>
|
||
|
|
void NavigateToPage(NavigationItem item);
|
||
|
|
}
|
||
|
|
|