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...
### Overview `System.ComponentModel.NotifyParentPropertyAttribute` can only decorate a property but a `ObservableProperty` must be defined as a field so that a property can be generated automatically. To allow them to work...
### Overview ObservableValidator uses System.ComponentModel.DataAnnotations.Validator, and is tough to replace - a call to (static) Validator.Validate is not substitutable. For straightforward implementation of validation, this is VERY useful - because...
### Overview Currently we have (among others) following properties set in our `Directory.Build.props`: ```xml AllEnabledByDefault true ``` Due to [`CA1014`](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1014), we've marked our assemblies with ```csharp [assembly: CLSCompliant(true)] ``` This...
## Changes ### Rename `build` folder to `eng`: - This is a standard build infra directory used in official dotnet projects. - Rename to `eng` folder is done early here...
### Overview The `Guard` static class is great! But it only makes sense when we are willing to throw and handle exceptions. Sometimes, for debugging purposes, we would like to...
### Overview This might be a better request for WPF, but (as I don't see that changing) I thought I would suggest it here. **Problem:** as a developer, I want...
### Describe the bug When I learn the Messenger part of CommunityToolkit.Mvvm by following the official sample from "MVVM Toolkit Sample App" software, I find that the sample code doesn't...
### Overview I've thoroughly enjoyed the usefulness of the `Guard` API, but one thing it's missing is enum validation (for non-flags enums). The one issue is that the generic `Enum.IsDefined`...
### Overview I tried to add validations for my sign in and sign forms based on ObservableValidator. I found that there are many lines of code can be generated by...
### Overview French has a specific translation for bytes (octet) which should be reflected in [Converters.ToFileSizeString](https://github.com/CommunityToolkit/dotnet/blob/main/CommunityToolkit.Common/Converters.cs#L17). Even though "byte" might be correct, our client reports that "octet" is more common....