Skip to content

M_RailwaySharp_ErrorHandling_Trial_Failed__2

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

Trial.Failed(TSuccess, TMessage) Method

Returns true if the result was not successful.

Namespace: RailwaySharp.ErrorHandling
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static bool Failed<TSuccess, TMessage>(
	Result<TSuccess, TMessage> result
)

VB

Public Shared Function Failed(Of TSuccess, TMessage) ( 
	result As Result(Of TSuccess, TMessage)
) As Boolean

C++

public:
generic<typename TSuccess, typename TMessage>
static bool Failed(
	Result<TSuccess, TMessage>^ result
)

F#

static member Failed : 
        result : Result<'TSuccess, 'TMessage> -> bool 

Parameters

 

result
Type: RailwaySharp.ErrorHandling.Result(TSuccess, TMessage)

Type Parameters

 

TSuccess
TMessage

Return Value

Type: Boolean

See Also

Reference

Trial Class
RailwaySharp.ErrorHandling Namespace

Clone this wiki locally