| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
If contans a value executes an Action(T) delegate over it.
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static void Do<T>(
this Maybe<T> maybe,
Action<T> action
)VB
<ExtensionAttribute>
Public Shared Sub Do(Of T) (
maybe As Maybe(Of T),
action As Action(Of T)
)C++
public:
[ExtensionAttribute]
generic<typename T>
static void Do(
Maybe<T>^ maybe,
Action<T>^ action
)F#
[<ExtensionAttribute>]
static member Do :
maybe : Maybe<'T> *
action : Action<'T> -> unit
In Visual Basic and C#, you can call this method as an instance method on any object of type Maybe(T). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
CommandLineParser Class Library V2.6
| Back | FazBrowse Home | New Git URL |