Skip to content

M_CommandLine_Core_ArgumentsExtensions_Preprocess

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

ArgumentsExtensions.Preprocess Method

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

Syntax

C#

public static IEnumerable<Error> Preprocess(
	this IEnumerable<string> arguments,
	IEnumerable<Func<IEnumerable<string>, IEnumerable<Error>>> preprocessorLookup
)

VB

<ExtensionAttribute>
Public Shared Function Preprocess ( 
	arguments As IEnumerable(Of String),
	preprocessorLookup As IEnumerable(Of Func(Of IEnumerable(Of String), IEnumerable(Of Error)))
) As IEnumerable(Of Error)

C++

public:
[ExtensionAttribute]
static IEnumerable<Error^>^ Preprocess(
	IEnumerable<String^>^ arguments, 
	IEnumerable<Func<IEnumerable<String^>^, IEnumerable<Error^>^>^>^ preprocessorLookup
)

F#

[<ExtensionAttribute>]
static member Preprocess : 
        arguments : IEnumerable<string> * 
        preprocessorLookup : IEnumerable<Func<IEnumerable<string>, IEnumerable<Error>>> -> IEnumerable<Error> 

Parameters

 

arguments
Type: System.Collections.Generic.IEnumerable(String)
preprocessorLookup
Type: System.Collections.Generic.IEnumerable(Func(IEnumerable(String), IEnumerable(Error)))

Return Value

Type: IEnumerable(Error)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(String). 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).

See Also

Reference

ArgumentsExtensions Class
CommandLine.Core Namespace

Clone this wiki locally