Exemplo n.º 1
0
        private void ExecuteCommand(ILookupCommand command, string connectionName)
        {
            var commandExecutor = new CommandExecutor(command);

            commandExecutor.ExecuteCommand(connectionName);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Instantiates instance of CommandExecutor.
 /// </summary>
 /// <param name="lookupCommand">Command to execute in this context.</param>
 internal CommandExecutor(ILookupCommand lookupCommand)
 {
     _lookupCommand = lookupCommand;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Instantiates instance of CommandExecutor.
 /// </summary>
 /// <param name="lookupCommand">Command to execute in this context.</param>
 internal CommandExecutor(ILookupCommand lookupCommand)
 {
     _lookupCommand = lookupCommand;
 }