Registers the specified ICommandSource with this manager, so that the
state of its command can be included when URLs are constructed.
Namespace:
Endeca.Web.UrlAssembly: Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
| C# |
|---|
public void Register( ICommandSource commandSource ) |
| Visual Basic (Declaration) |
|---|
Public Sub Register ( _ commandSource As ICommandSource _ ) |
| Visual C++ |
|---|
public: void Register( ICommandSource^ commandSource ) |
Parameters
- commandSource
- Type: Endeca.Data.Provider..::.ICommandSource
Command source to register with this manager.
Remarks
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | if commandSource is null. |
| System..::.ArgumentException | if the ID of commandSource is null or empty. |
| System..::.InvalidOperationException | if a command source with the same ID as commandSource has already been registered. |