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.
With implicit generics it would make for more concise code if the public static methods for Success/Fail were moved up from
Result<T>
toResult
.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.