RegisterCommand(String, Func<ICommand>)

Register an ICommand with the Controller.
Namespace: PureMVC.InterfacesAssembly: PureMVC in (PureMVC.dll)

Syntax

C#
public abstract void RegisterCommand(
	string notificationName,
	Func<ICommand> commandClassRef
	)

Parameters

notificationNameString
the name of the INotification to associate the ICommand with.
commandClassRefFunc<>
a reference to the FuncDelegate of the ICommand