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...
Currently for all non-empty inputs an array is rented from the pool. My naive assumption is, however, that the pool is commonly used for shorter strings. I suggest `stackalloc` be...
**Closes #441** Fixed Guard IsWhiteSpace and IsNotWhiteSpace methods adding a check for null before calling string.IsNullOrWhiteSpace. Added some tests for both methods. ## PR Checklist - [x] Created a feature/dev...
### Describe the bug When referencing the CommunityToolkit.Mvvm package from a Visual Studio 2022 extension, the extension fails to load due to missing files. Here's the log from VS activity...
### Overview Hello, here is another entry of my proposals for functionalities to import from my current CommonNET project to the Microsoft Community Toolkit, I hope you find it useful...
### Overview Hello, here is the first entry of my proposals for functionalities to import from my current CommonNET project to the Microsoft Community Toolkit, I hope you find it...
Fix ordering of params in assertions with "expected" as first argument and "actual" as second. **Closes #55** ## PR Checklist - [x] Created a feature/dev branch in your fork (vs....
### Describe the bug In this test we check that array is equals to itself but probably it should be compared with span2d or with a constant expected value. https://github.com/CommunityToolkit/dotnet/blob/b8df95a9f3531524209b4bf483f684a1c52e30a9/tests/CommunityToolkit.HighPerformance.UnitTests/Memory/Test_Span2D%7BT%7D.cs#L296-L316...
### Overview Records should also be able to generate `RelayCommand` just like classes do. ### API breakdown No new API ### Usage example Data layer has a record: ```cs public...
### Describe the bug First of all, I'm using the [JsonFlatFileDataStore ](https://github.com/ttu/json-flatfile-datastore) package. I'm trying to insert a new item to a collection and the insertion works, but the `CommunityToolkit.Mvvm.dll`...
### Describe the bug If the RequestMessage is used in the constructor, the xaml design view will not be displayed correctly.  ### Regression _No response_ ### Steps to reproduce...