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.UrlAssembly: Endeca.Web (in Endeca.Web.dll) Version: 2.1.1.0 (2.1.1.620)
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
| Exception | Condition |
|---|---|
| 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. |