| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Executes the given function on a given success or captures the failure.
Namespace: RailwaySharp.ErrorHandling
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static Result<TSuccess, Exception> Try<TSuccess>(
Func<TSuccess> func
)VB
Public Shared Function Try(Of TSuccess) (
func As Func(Of TSuccess)
) As Result(Of TSuccess, Exception)C++
public:
generic<typename TSuccess>
static Result<TSuccess, Exception^>^ Try(
Func<TSuccess>^ func
)F#
static member Try :
func : Func<'TSuccess> -> Result<'TSuccess, Exception>
CommandLineParser Class Library V2.6
| Back | FazBrowse Home | New Git URL |