Ionite
1 year ago
2 changed files with 40 additions and 4 deletions
@ -0,0 +1,33 @@
|
||||
using System.ComponentModel; |
||||
using Microsoft.Extensions.Logging; |
||||
using StabilityMatrix.Helper; |
||||
using StabilityMatrix.Python; |
||||
using StabilityMatrix.ViewModels; |
||||
using Wpf.Ui.Contracts; |
||||
using ISnackbarService = StabilityMatrix.Helper.ISnackbarService; |
||||
|
||||
namespace StabilityMatrix.DesignData; |
||||
|
||||
[DesignOnly(true)] |
||||
public class MockLaunchViewModel : LaunchViewModel |
||||
{ |
||||
public MockLaunchViewModel() : base( |
||||
null!, null!, null!, |
||||
null!, null!, null!, |
||||
null!, null!) |
||||
{ |
||||
InstalledPackages = new() |
||||
{ |
||||
new() |
||||
{ |
||||
DisplayName = "Mock Package", |
||||
PackageName = "mock-package", |
||||
PackageVersion = "1.0.0", |
||||
DisplayVersion = "1.0.0", |
||||
InstalledBranch = "main", |
||||
Path = @"C:\Users\AppData\StabilityMatrix\mock-package", |
||||
} |
||||
}; |
||||
SelectedPackage = InstalledPackages[0]; |
||||
} |
||||
} |
Loading…
Reference in new issue