Example #1
0
 public static void Disable(ProjectionsManager manager, string[] commandArgs)
 {
     var nameAndCredentials = GetProjectionNameAndCredentials(commandArgs);
     var name = nameAndCredentials.Item1;
     Log("Disabling {0}...", nameAndCredentials.Item1);
     manager.DisableAsync(name, nameAndCredentials.Item2).Wait();
     Log("{0} disabled", name);
 }