Skip to content

M_CommandLine_Core_SpecificationExtensions_HavingRange

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

SpecificationExtensions.HavingRange Method

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

Syntax

C#

public static bool HavingRange(
	this Specification specification,
	Func<int, int, bool> predicate
)

VB

<ExtensionAttribute>
Public Shared Function HavingRange ( 
	specification As Specification,
	predicate As Func(Of Integer, Integer, Boolean)
) As Boolean

C++

public:
[ExtensionAttribute]
static bool HavingRange(
	Specification^ specification, 
	Func<int, int, bool>^ predicate
)

F#

[<ExtensionAttribute>]
static member HavingRange : 
        specification : Specification * 
        predicate : Func<int, int, bool> -> bool 

Parameters

 

specification
Type: CommandLine.Core.Specification
predicate
Type: System.Func(Int32, Int32, Boolean)

Return Value

Type: Boolean

Usage Note

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