Checks that the given CommandInfoCollection contains at most one instance of NavigationCommand, RecordDetailsCommand, AggregateRecordDetailsCommand, DimensionSearchCommand, CompoundDimensionSearchCommand, and MetadataCommand. Throws an exception if multiple commands of the same type have been found.

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

Syntax

C#
protected void AssertMaxOneCommandOfEachType(
	CommandInfoCollection commands
)
Visual Basic (Declaration)
Protected Sub AssertMaxOneCommandOfEachType ( _
	commands As CommandInfoCollection _
)
Visual C++
protected:
void AssertMaxOneCommandOfEachType(
	CommandInfoCollection^ commands
)

Parameters

commands
Type: CommandInfoCollection
The CommandInfoCollection to inspect.

Exceptions

ExceptionCondition
Endeca.Web.Url.Seo.Utility..::.UnsupportedCommandsExceptionThrown if multiple commands of the same type are found.

See Also