Skip to content

Commit

Permalink
(refactor) naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Jun 4, 2015
1 parent b02e414 commit dd2afd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/chocolatey/infrastructure.app/services/WebPiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ public WebPiService(ICommandExecutor commandExecutor, INugetService nugetService
/// </summary>
private void set_cmd_args_dictionaries()
{
set_webpi_list_dictionary(_listArguments);
set_webpi_install_dictionary(_installArguments);
set_list_dictionary(_listArguments);
set_install_dictionary(_installArguments);
}

/// <summary>
/// Sets webpicmd list dictionary
/// </summary>
private void set_webpi_list_dictionary(IDictionary<string, ExternalCommandArgument> args)
private void set_list_dictionary(IDictionary<string, ExternalCommandArgument> args)
{
args.Add("_action_", new ExternalCommandArgument {ArgumentOption = "/List", Required = true});
args.Add("_list_option_", new ExternalCommandArgument {ArgumentOption = "/ListOption:All", Required = true});
Expand All @@ -63,7 +63,7 @@ private void set_webpi_list_dictionary(IDictionary<string, ExternalCommandArgume
/// <summary>
/// Sets webpicmd install dictionary
/// </summary>
private void set_webpi_install_dictionary(IDictionary<string, ExternalCommandArgument> args)
private void set_install_dictionary(IDictionary<string, ExternalCommandArgument> args)
{
args.Add("_action_", new ExternalCommandArgument {ArgumentOption = "/Install", Required = true});
args.Add("_accept_eula_", new ExternalCommandArgument {ArgumentOption = "/AcceptEula", Required = true});
Expand Down

0 comments on commit dd2afd2

Please sign in to comment.