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 an app is published with NativeAOT active and it has custom validators, the app would crash when trying to validate the property. Debugging the NativeAOT...
## PR Checklist - [X] Created a feature/dev branch in your fork (vs. submitting directly from a commit on main) - [X] Based off latest main branch of toolkit -...
### Overview Sometimes a [ReadOnly]Span needs to be tokenized using more than one separator. ### API breakdown ```csharp namespace CommunityToolkit.HighPerformance; public static class SpanExtensions { public static SpanTokenizer2 Tokenize(this Span...
**Closes #805** ## PR Checklist - [x] Created a feature/dev branch in your fork (vs. submitting directly from a commit on main) - [x] Based off latest main branch of...
### Describe the bug I'm trying to figure out how to use a simple command which canexecute depends on a bool property. Unfortunately the sample application is heavily outdated as...
### Discussed in https://github.com/CommunityToolkit/dotnet/discussions/800 Originally posted by **Touseefelahi** November 23, 2023 How to use keyed services in my Avalonia Application? I am trying to use the keyed services feature from...
### Overview I want to get the old value and the new value in the event ### API breakdown ```csharp namespace CommunityToolkit.Mvvm.ComponentModel; public abstract class ObservableObject { protected bool SetProperty(...
**Closes #798** Fixes extension method and adds a test to ensure a correct bahavior. ## PR Checklist - [x] Created a feature/dev branch in your fork (vs. submitting directly from...
### Describe the bug _IBufferWriterExtension.Write_ method for unmanaged types creates a Span with invalid length: ```csharp int length = sizeof(T); Span span = writer.GetSpan(1); ``` should be: ```csharp int length...