14 lines
291 B
C#
14 lines
291 B
C#
|
|
using CommandHandler.Navigation;
|
|
|
|
namespace CommandHandler.Commands;
|
|
|
|
internal class ChangeNavigationStateCommand(INavigationContext context, INavigationState state) : ICommand
|
|
{
|
|
public Task Execute()
|
|
{
|
|
context.SetState(state);
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|