MonoDevelop.Components.Commands.CommandManager.RegisterCommandTargetVisitor C# (CSharp) Method

RegisterCommandTargetVisitor() public method

Registers a command target visitor.
Command target visitors can be used to visit the whole active command route to perform custom actions on the objects of the route. The command manager periodically visits the command route. The visit frequency varies, but it is usually at least once a second.
public RegisterCommandTargetVisitor ( ICommandTargetVisitor visitor ) : void
visitor ICommandTargetVisitor /// The visitor. ///
return void
		public void RegisterCommandTargetVisitor (ICommandTargetVisitor visitor)
		{
			visitors.Add (visitor);
			StartStatusUpdater ();
		}