introduce a TransientNavigationStore to share objects from one state to the next state
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace Toolkit.Avalonia;
|
||||
|
||||
public interface ITransientNavigationStore<TControl>
|
||||
where TControl : class
|
||||
{
|
||||
void Clear();
|
||||
|
||||
T? Get<T>(TControl control)
|
||||
where T : class;
|
||||
|
||||
void Remove(TControl control);
|
||||
|
||||
void Set(TControl control,
|
||||
object parameters);
|
||||
}
|
||||
Reference in New Issue
Block a user