Split-out ADT generator
ADD
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabHelper.cs
+using WalletWasabi.Gui.ViewModels;
+
+namespace WalletWasabi.Gui.Controls.WalletExplorer
+{
+ public static class AdvancedDetailTabHelper
+ {
+ public static AdvancedDetailTabViewModel<T> GenerateAdvancedDetailTab<T>(T targetVM) where T : ViewModelBase
+ {
+ return null;
+ }
+ }
+}
\ No newline at end of file

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabViewModel.cs
@@ -12,10 +12,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private Global Global { get; }
private TViewModel TargetVM { get; }
- public static AdvancedDetailTabViewModel<T> GenerateAdvancedDetailTab<T>(T targetVM) where T : ViewModelBase
- {
- return null;
- }
+
public AdvancedDetailTabViewModel(string Title, TViewModel targetVM) : base(Title)
{

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
@@ -119,7 +119,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
OpenAdvancedDetail = ReactiveCommand.Create(() =>
{
- var advancedDetail = AdvancedDetailTabViewModel.GenerateAdvancedDetailTab(this);
+ var advancedDetail = AdvancedDetailTabHelper.GenerateAdvancedDetailTab(this);
IoC.Get<IShell>().AddOrSelectDocument(advancedDetail);
});

Split-out ADT generator