Overload_RailwaySharp_ErrorHandling_ResultExtensions_SelectMany - adutton/commandline GitHub Wiki

ResultExtensions.SelectMany Method

Overload List

 

Name Description
Public methodStatic member SelectMany(TSuccess, TMessage, TResult)(Result(TSuccess, TMessage), Func(TSuccess, Result(TResult, TMessage))) If the result is a Success it executes the given Func on the value. Otherwise the exisiting failure is propagated.
Public methodStatic member SelectMany(TSuccess, TMessage, TValue, TResult)(Result(TSuccess, TMessage), Func(TSuccess, Result(TValue, TMessage)), Func(TSuccess, TValue, TResult)) If the result is a Success it executes the given Func on the value. If the result of the Func is a Success it maps it using the given Func. Otherwise the exisiting failure is propagated.
  Back to Top

See Also

Reference

ResultExtensions Class
RailwaySharp.ErrorHandling Namespace

⚠️ **GitHub.com Fallback** ⚠️