diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-02 16:27:32 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-02 16:27:32 +0300 |
| commit | d866652d38d2366c333a1ff5092aff1cc4b85dfa (patch) | |
| tree | 0e004697f3971d03ecfb71dc7d0caf8aec6d01e3 /Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation | |
| parent | 58f612e03a9bb31c2ada4eb3c5989be458ec4ff5 (diff) | |
| download | Tango-d866652d38d2366c333a1ff5092aff1cc4b85dfa.tar.gz Tango-d866652d38d2366c333a1ff5092aff1cc4b85dfa.zip | |
Implemented Twine's catalog control, Twine's catalog viewer, Twines catalog color correction view.
Added INavigationResultProvider OnNavigationObjectReceived method..
Improved navigation system history.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs | 2 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationResultProvider.cs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs index fd5ee8e31..dd2872fd5 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationManager.cs @@ -72,7 +72,7 @@ namespace Tango.PPC.Common.Navigation /// The view must be of type INavigationResultProvider<TResult>. /// </summary> /// <param name="fullPath">The full path.</param> - Task<TResult> NavigateForResult<TModule,TView, TResult>(bool pushToHistory = true) + Task<TResult> NavigateForResult<TModule, TView, TResult, TObject>(TObject obj, bool pushToHistory = true) where TModule : IPPCModule; } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationResultProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationResultProvider.cs index 9d9c7ac35..71bdc01e0 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationResultProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Navigation/INavigationResultProvider.cs @@ -6,8 +6,10 @@ using System.Threading.Tasks; namespace Tango.PPC.Common.Navigation { - public interface INavigationResultProvider<TResult> + public interface INavigationResultProvider<TResult, TObject> { TResult GetNavigationResult(); + + void OnNavigationObjectReceived(TObject obj); } } |
