Skip to content

Extended version of System.Collections.ObjectModel.ObservableCollection. This class allows you to use AddRange, invoking the CollectionChanged event only once. This class also allows you to monitor properties of the items in the collection.

Notifications You must be signed in to change notification settings

MintPlayer/MintPlayer.Dotnet.Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Tools

Source Generators

This repository contains several .NET Source generators

  • ValueComparerGenerator: Makes it easier to write your own source-generators by generating the value-comparers for you
  • MapperGenerator: Automatically generates mapper-extension-methods for you. It has support for property-name remapping and property-type remapping
  • SourceGenerators
    • Generates extension methods to register services decorated with the [Register] attribute
    • Allows you to use the [Inject] attribute, removing the constructor completely
    • Contains an interface-implementation analyzer

HTTP helpers

This repository contains extension methods that build on the .NET standard Http library. Example:

var req = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/widgets")
    .WithAuthorizationBearer("your_jwt_here")               // ← auth
    .WithHeader("X-TraceId", Guid.NewGuid().ToString())     // ← any header
    .WithJsonContent(new CreateWidget("Minty", "green"));   // ← body

var (dto, status, headers) = await client.FromJsonWithMetaAsync<WidgetDto>(req, null, ct);

About

Extended version of System.Collections.ObjectModel.ObservableCollection. This class allows you to use AddRange, invoking the CollectionChanged event only once. This class also allows you to monitor properties of the items in the collection.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •  

Languages