Skip to content

T_CSharpx_EitherExtensions

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

EitherExtensions Class

Inheritance Hierarchy

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

Syntax

C#

internal static class EitherExtensions

VB

<ExtensionAttribute>
Friend NotInheritable Class EitherExtensions

C++

[ExtensionAttribute]
internal ref class EitherExtensions abstract sealed

F#

[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type EitherExtensions =  class end

The EitherExtensions type exposes the following members.

Methods

 

Name Description
Public methodStatic member Bimap(TLeft, TRight, TLeft1, TRight1)
Public methodStatic member Bind(TLeft, TRight, TResult)
Public methodStatic member IsLeft(TLeft, TRight)
Public methodStatic member IsRight(TLeft, TRight)
Public methodStatic member Map(TLeft, TRight, TResult)
Public methodStatic member Match(TLeft, TRight)
Public methodStatic member ToEither(TRight) Equivalent to monadic Return(TRight)(TRight) operation. Builds a Right(TLeft, TRight) value in case value by default.
  Back to Top

See Also

Reference

CSharpx Namespace

Clone this wiki locally