FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Methods_T_CSharpx_Nothing_1 · commandlineparser/commandline Wiki · GitHub

Methods_T_CSharpx_Nothing_1 · commandlineparser/commandline Wiki · GitHub
Skip to content

Navigation Menu

Methods_T_CSharpx_Nothing_1

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

Nothing(T) Methods

The Nothing(T) generic type exposes the following members.

Methods

 

Name Description
Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as the default hash function. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MatchJust Matches a value returning true and value itself via output parameter. (Inherited from Maybe(T).)
MatchNothing Matches an empty value returning true. (Inherited from Maybe(T).)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Bind(T, T2) Invokes a function on this maybe value that itself yields a maybe. (Defined by MaybeExtensions.)
Do(T) If contans a value executes an Action(T) delegate over it. (Defined by MaybeExtensions.)
FromJust(T) Extracts the element out of a Just(T) and returns a default value if its argument is Nothing(T). (Defined by MaybeExtensions.)
FromJustOrFail(T) Extracts the element out of a Just(T) and throws an error if its argument is Nothing(T). (Defined by MaybeExtensions.)
GetValueOrDefault(T) If contains a values returns it, otherwise returns noneValue. (Defined by MaybeExtensions.)
IsEmpty (Defined by UnParserExtensions.)
IsJust(T) Returns true iffits argument is of the form Just(T). (Defined by MaybeExtensions.)
IsNothing(T) Returns true iffits argument is of the form Nothing(T). (Defined by MaybeExtensions.)
Map(T, T2) Transforms this maybe value by using a specified mapping function. (Defined by MaybeExtensions.)
MapValueOrDefault(T, T2) If contains a values executes a mapping function over it, otherwise returns noneValue. (Defined by MaybeExtensions.)
Match(T) Provides pattern matching using Action delegates. (Defined by MaybeExtensions.)
NormalizeValue (Defined by UnParserExtensions.)
Select(T, TResult) Map operation compatible with Linq. (Defined by MaybeExtensions.)
SelectMany(T, TValue, TResult) Bind operation compatible with Linq. (Defined by MaybeExtensions.)
ToEnumerable(T) Returns an empty list when given Nothing(T) or a singleton list when given a Just(T). (Defined by MaybeExtensions.)
  Back to Top

See Also

Reference

Nothing(T) Class
CSharpx Namespace

Wiki pages Pages 1,025

Clone this wiki locally

Footer

© 2026 GitHub, Inc.

Back | FazBrowse Home | New Git URL