Registers the specified collection of ICommandSources with this manager, so that the state of each command can be included when URLs are constructed.

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

Syntax

C#
public void Register(
	params ICommandSource[] commandSources
)
Visual Basic (Declaration)
Public Sub Register ( _
	ParamArray commandSources As ICommandSource() _
)
Visual C++
public:
void Register(
	... array<ICommandSource^>^ commandSources
)

Parameters

commandSources
Type: array< Endeca.Data.Provider..::.ICommandSource >[]()[]
Array of command providers to register with this manager.

Exceptions

ExceptionCondition
System..::.ArgumentNullException if commandProviders is null.
System..::.ArgumentException if the ID of one of the command sources is null or empty.
System..::.InvalidOperationException if a command source with the same ID as one of the sources in commandSources has already been registered.

See Also