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> commandClassRef
	)

Parameters

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