dotnet
dotnet copied to clipboard
.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and par...
### Describe the bug If I use Microsoft. Toolkit The Mvvm library will not fail. If I use the Community Toolkit MVVM, an error is reported. The IDE is VS2022...
### Describe the bug [RelayCommand] attribute source generator error, for the function-name's first character can't be lowered. ### Regression _No response_ ### Steps to reproduce 1. A Dotnet6 project with...
Issue link : https://github.com/CommunityToolkit/dotnet/issues/403 **Closes #403** Changed the namepspace of the interface ISettingsStorageHelper from **`CommunityToolkit.Helpers`** to **`CommunityToolkit.Common.Helpers`** ## PR Checklist - [x] Created a feature/dev branch in your fork (vs....
Describe the bug Null check done in Guard.IsNotWhiteSpace while Guard.IsNotNullOrWhiteSpace is also available. Code of Guard.IsNotWhiteSpace has the same implementation as Guard.IsNotNullOrWhiteSpace. null does not feel equal to whitespace. Regression...
NEW WPF Application. Add Community.Toolkit.Mvvm V8.0.0 Add MainWindowVM class as `public partial class MainWindowVM : ObservableObject { public MainWindowVM() { ApplicationName = "RHOKS Automation"; } private string? m_ApplicationName; public string?...
### Overview Right now, it's not possible to specify property attributes when using `[ObservableProperty]`, which has been a pain point for some users, as it forces you to go back...
### Describe the bug When trying to observe a Task using the MVVM Toolkit, there's a special helper type called `TaskNotifier`, [as called out in the docs here](https://docs.microsoft.com/dotnet/communitytoolkit/mvvm/observableobject#handling-taskt-properties). However, this...
### Overview Guard IsNotEmpty not support ImmutableArray ### API breakdown ```csharp namespace CommunityToolkit.Diagnostics; partial class Guard { public static void IsNotEmpty(ImmutableArray collection, [CallerArgumentExpression("collection")] string name = "") public static void...
### Describe the bug When trying to add localization for an attribute through the following code: ```cs [ObservableProperty] [NotifyDataErrorInfo] [Required( ErrorMessageResourceType = typeof(ValidationResources), ErrorMessageResourceName = nameof(ValidationResources.Required))] [Display( ResourceType = typeof(ValidationResources),...
### Describe the bug After I add fields, repeated error prompts always appear. ### Regression _No response_ ### Steps to reproduce ```text Create a project, add community toolkit.mvvm, ``` ###...