MrDave1999 / SimpleResults

A simple library to implement the Result pattern for returning from services
https://mrdave1999.github.io/SimpleResults
MIT License
103 stars 2 forks source link

Add implicit conversion from value to `Result<T>` #45

Closed MrDave1999 closed 9 months ago

MrDave1999 commented 9 months ago

Example

var value = new List<string>();
// Implicit conversion.
Result<List<string>> result = value;