fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.44k stars 727 forks source link

Minor Style Improvement #434

Open thepigeonfighter opened 1 year ago

thepigeonfighter commented 1 year ago

With implicit generics it would make for more concise code if the public static methods for Success/Fail were moved up from Result<T> to Result.

The code would go from

Result<MyObject>.Success(obj);

to

Result.Success(obj);

Not a big change but this was a quality-of-life improvement for me so I thought I would share. I could make a pull request implementing this if desirable.