Skip to content

M_CSharpx_Either_GetOrFail__2

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

Either.GetOrFail(TLeft, TRight) Method

Returns a Either Right or fail with an exception.

Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static TRight GetOrFail<TLeft, TRight>(
	Either<TLeft, TRight> either
)

VB

Public Shared Function GetOrFail(Of TLeft, TRight) ( 
	either As Either(Of TLeft, TRight)
) As TRight

C++

public:
generic<typename TLeft, typename TRight>
static TRight GetOrFail(
	Either<TLeft, TRight>^ either
)

F#

static member GetOrFail : 
        either : Either<'TLeft, 'TRight> -> 'TRight 

Parameters

 

either
Type: CSharpx.Either(TLeft, TRight)

Type Parameters

 

TLeft
TRight

Return Value

Type: TRight

See Also

Reference

Either Class
CSharpx Namespace

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy