-
-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #512 from LykosAI/main
v2.9.1
- Loading branch information
Showing
13 changed files
with
341 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 135 additions & 0 deletions
135
StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
StabilityMatrix.Avalonia/ViewModels/Dialogs/ConfirmPackageDeleteDialogViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using System; | ||
using CommunityToolkit.Mvvm.ComponentModel; | ||
using StabilityMatrix.Avalonia.ViewModels.Base; | ||
using StabilityMatrix.Avalonia.Views.Dialogs; | ||
using StabilityMatrix.Core.Attributes; | ||
|
||
namespace StabilityMatrix.Avalonia.ViewModels.Dialogs; | ||
|
||
[View(typeof(ConfirmPackageDeleteDialog))] | ||
[ManagedService] | ||
[Transient] | ||
public partial class ConfirmPackageDeleteDialogViewModel : ContentDialogViewModelBase | ||
{ | ||
public required string ExpectedPackageName { get; set; } | ||
|
||
[ObservableProperty] | ||
[NotifyPropertyChangedFor(nameof(IsValid))] | ||
private string packageName = string.Empty; | ||
|
||
public bool IsValid => ExpectedPackageName.Equals(PackageName, StringComparison.Ordinal); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.