Skip to content

M_CommandLine_Core_SpecificationExtensions_ThrowingValidate

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

SpecificationExtensions.ThrowingValidate Method

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

Syntax

C#

public static IEnumerable<Specification> ThrowingValidate(
	this IEnumerable<Specification> specifications,
	IEnumerable<Tuple<Func<Specification, bool>, string>> guardsLookup
)

VB

<ExtensionAttribute>
Public Shared Function ThrowingValidate ( 
	specifications As IEnumerable(Of Specification),
	guardsLookup As IEnumerable(Of Tuple(Of Func(Of Specification, Boolean), String))
) As IEnumerable(Of Specification)

C++

public:
[ExtensionAttribute]
static IEnumerable<Specification^>^ ThrowingValidate(
	IEnumerable<Specification^>^ specifications, 
	IEnumerable<Tuple<Func<Specification^, bool>^, String^>^>^ guardsLookup
)

F#

[<ExtensionAttribute>]
static member ThrowingValidate : 
        specifications : IEnumerable<Specification> * 
        guardsLookup : IEnumerable<Tuple<Func<Specification, bool>, string>> -> IEnumerable<Specification> 

Parameters

 

specifications
Type: System.Collections.Generic.IEnumerable(Specification)
guardsLookup
Type: System.Collections.Generic.IEnumerable(Tuple(Func(Specification, Boolean), String))

Return Value

Type: IEnumerable(Specification)

Usage Note

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

SpecificationExtensions Class
CommandLine.Core Namespace

Clone this wiki locally