Navigation zwischen views Funktioniert
This commit is contained in:
@@ -9,10 +9,15 @@ namespace DaSaSo.ViewModel.Interface
|
||||
{
|
||||
public interface IActualProject
|
||||
{
|
||||
event EventHandler? ClientChanged;
|
||||
event EventHandler? ProjectChanged;
|
||||
event EventHandler? BuildingSiteChanged;
|
||||
Client AktuellClient { get; }
|
||||
Project AktuellProjekt { get; }
|
||||
Buildingsite AktuellBaustelle { get; }
|
||||
|
||||
void SetClient(Client client);
|
||||
void SetProject(Project project);
|
||||
void SetBuildingSite(Buildingsite buildingsite);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,6 @@ namespace DaSaSo.ViewModel.Interface
|
||||
public interface INavigator
|
||||
{
|
||||
BaseViewModel CurrentViewModel { get; set; }
|
||||
ICommand UpdateViewModelCommand { get; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
13
DaSaSo.ViewModel/Interface/IRenavigator.cs
Normal file
13
DaSaSo.ViewModel/Interface/IRenavigator.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DaSaSo.ViewModel.Interface
|
||||
{
|
||||
public interface IRenavigator
|
||||
{
|
||||
void Renavigate();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user