Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WinWARP.Core.Services;
|
||||
|
||||
public interface ILocalizationService
|
||||
{
|
||||
IEnumerable<string> GetSupportedLanguages();
|
||||
string GetCurrentLanguage();
|
||||
Task SetLanguageAsync(string languageCode);
|
||||
string GetString(string resourceKey);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
|
||||
namespace WinWARP.Core.Services;
|
||||
|
||||
public interface INavigationService
|
||||
{
|
||||
void NavigateTo<TViewModel>(object parameter = null) where TViewModel : class;
|
||||
void GoBack();
|
||||
bool CanGoBack
|
||||
{
|
||||
get;
|
||||
}
|
||||
Type CurrentViewModelType { get; }
|
||||
event EventHandler<Type> NavigatedToViewModel;
|
||||
}
|
||||
Reference in New Issue
Block a user