private void ExecuteCommand(ILookupCommand command, string connectionName) { var commandExecutor = new CommandExecutor(command); commandExecutor.ExecuteCommand(connectionName); }
/// <summary> /// Instantiates instance of CommandExecutor. /// </summary> /// <param name="lookupCommand">Command to execute in this context.</param> internal CommandExecutor(ILookupCommand lookupCommand) { _lookupCommand = lookupCommand; }