RegisterCommand(String, Func<ICommand>)

Register an ICommand with the Controller by Notification name.
Namespace: PureMVC.Patterns.FacadeAssembly: PureMVC in (PureMVC.dll)

Syntax

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

Parameters

notificationNameString
the name of the INotification to associate the ICommand with
commandFuncFunc<>
a reference to the Class of the ICommand