Skip to content

M_CSharpx_Either_GetRightOrDefault__2

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

Either.GetRightOrDefault(TLeft, TRight) Method

Returns a Either Right or a defualt value.

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

Syntax

C#

public static TRight GetRightOrDefault<TLeft, TRight>(
	Either<TLeft, TRight> either,
	TRight default
)

VB

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

C++

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

F#

static member GetRightOrDefault : 
        either : Either<'TLeft, 'TRight> * 
        default : 'TRight -> 'TRight 

Parameters

 

either
Type: CSharpx.Either(TLeft, TRight)
default
Type: 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