A convenience method to determine if the CommandInfoCollection contains multiple commands of the specified type.

Namespace:  Endeca.Web.Url.Seo.Utility
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public static bool ContainsMultipleCommandType<T>(
	CommandInfoCollection commands
)
where T : EndecaCommand
Visual Basic (Declaration)
Public Shared Function ContainsMultipleCommandType(Of T As EndecaCommand) ( _
	commands As CommandInfoCollection _
) As Boolean
Visual C++
public:
generic<typename T>
where T : EndecaCommand
static bool ContainsMultipleCommandType(
	CommandInfoCollection^ commands
)

Parameters

commands
Type: CommandInfoCollection
The collection of command info objects to search.

Type Parameters

T
The type of the command for which to search.

Return Value

A bool "true" if multiple commands of this type are found in the collection; "false" otherwise.

See Also