Skip to content

M_CommandLine_Core_SpecificationExtensions_HavingMax

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

SpecificationExtensions.HavingMax Method

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

Syntax

C#

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

VB

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

C++

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

F#

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

Parameters

 

specification
Type: CommandLine.Core.Specification
predicate
Type: System.Func(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