CreateLocalCommand() public static method

public static CreateLocalCommand ( ClientCommand clientCommand ) : Command
clientCommand ClientCommand
return Command
Esempio n. 1
0
 /// <summary>
 /// Adds a Command to this behavior that will be executed solely on the client
 /// </summary>
 /// <param name="clientCommand">The delegate to the code that will be executed by the client</param>
 /// <param name="condition"></param>
 protected void AddLocalCommand(Condition condition, Command.ClientCommand clientCommand)
 {
     AddCommand(Command.CreateLocalCommand(condition, clientCommand));
 }
Esempio n. 2
0
 /// <summary>
 /// Adds a Command to this behavior that will be executed solely on the client
 /// </summary>
 /// <param name="clientCommand">The delegate to the code that will be executed by the client</param>
 /// <param name="condition"></param>
 /// <param name="frequency"></param>
 protected void AddLocalCommand(Condition condition, Command.ClientCommand clientCommand, ExecutionFrequency frequency)
 {
     AddCommand(Command.CreateLocalCommand(condition, clientCommand, frequency));
 }
Esempio n. 3
0
 /// <summary>
 /// Adds a Command to this behavior that will be executed solely on the client
 /// </summary>
 /// <param name="clientCommand">The delegate to the code that will be executed by the client</param>
 protected void AddLocalCommand(Command.ClientCommand clientCommand)
 {
     AddCommand(Command.CreateLocalCommand(clientCommand));
 }