A convenience method that determines if the CommandInfoCollection contains the specified command
type. Returns true of the CommandInfoCollection contains the specified type, false otherwise.
Namespace:
Endeca.Web.Url.Seo.Utility
Assembly:
Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.1.0 (2.1.1.0)
Syntax
C# |
---|
public static bool ContainsCommandType<T>(
CommandInfoCollection commands
)
where T : EndecaCommand
|
Visual Basic (Declaration) |
---|
Public Shared Function ContainsCommandType(Of T As EndecaCommand) ( _
commands As CommandInfoCollection _
) As Boolean |
Visual C++ |
---|
public:
generic<typename T>
where T : EndecaCommand
static bool ContainsCommandType(
CommandInfoCollection^ commands
) |
Parameters
- commands
- Type: CommandInfoCollection
CommandInfoCollection in which to search.
Type Parameters
- T
-
EndecaCommand type to look for.
Return Value
Boolean if the collection contains a command of the given type, false otherwise.
See Also