1 instantiation of CommandLineToolSwitch
Microsoft.Build.Tasks.Core (1)
XamlTaskFactory\CommandLineGenerator.cs (1)
60
var switchToAdd = new
CommandLineToolSwitch
();
46 references to CommandLineToolSwitch
Microsoft.Build.Tasks.Core (25)
XamlTaskFactory\CommandLineGenerator.cs (17)
38
private readonly Dictionary<string,
CommandLineToolSwitch
> _activeCommandLineToolSwitches = new Dictionary<string,
CommandLineToolSwitch
>(StringComparer.OrdinalIgnoreCase);
60
var
switchToAdd = new CommandLineToolSwitch();
178
internal CommandLineGenerator(Dictionary<string,
CommandLineToolSwitch
> activeCommandLineToolSwitches, IEnumerable<string> switchOrderList)
239
internal void GenerateCommandsAccordingToType(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch, bool recursive)
274
internal bool VerifyRequiredArgumentsArePresent(
CommandLineToolSwitch
property, bool throwOnError)
283
internal bool VerifyDependenciesArePresent(
CommandLineToolSwitch
property)
348
private static void EmitTaskItemArraySwitch(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch)
373
private static void EmitStringArraySwitch(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch)
419
private static bool PerformSwitchValueSubstition(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch, string switchValue)
450
private static void EmitIntegerSwitch(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch)
477
private void EmitStringSwitch(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch)
531
if (_activeCommandLineToolSwitches.TryGetValue(arg.Item1, out
CommandLineToolSwitch
argSwitch))
558
private static void EmitBooleanSwitch(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch)
583
private static void EmitReversibleBooleanSwitch(CommandLineBuilder clb,
CommandLineToolSwitch
commandLineToolSwitch)
609
CommandLineToolSwitch
property = _activeCommandLineToolSwitches[propertyName];
720
CommandLineToolSwitch
property = _activeCommandLineToolSwitches[propertyName];
XamlTaskFactory\XamlDataDrivenToolTask.cs (8)
74
public Dictionary<string,
CommandLineToolSwitch
> ActiveToolSwitchesValues { get; set; } = new Dictionary<string,
CommandLineToolSwitch
>(StringComparer.OrdinalIgnoreCase);
85
protected internal Dictionary<string,
CommandLineToolSwitch
> ActiveToolSwitches { get; } = new Dictionary<string,
CommandLineToolSwitch
>(StringComparer.OrdinalIgnoreCase);
112
public void ReplaceToolSwitch(
CommandLineToolSwitch
switchToAdd)
120
public void AddActiveSwitchToolValue(
CommandLineToolSwitch
switchToAdd)
229
foreach (KeyValuePair<string,
CommandLineToolSwitch
> overriddenSwitch in ActiveToolSwitches)
235
foreach (KeyValuePair<string,
CommandLineToolSwitch
> overrideTarget in ActiveToolSwitches)
Microsoft.Build.Tasks.UnitTests (21)
XamlTaskFactory_Tests.cs (21)
731
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
753
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
774
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
788
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
794
switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
806
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
818
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
830
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
842
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
854
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");
866
Dictionary<string,
CommandLineToolSwitch
> switchList = (Dictionary<string,
CommandLineToolSwitch
>)XamlTestHelpers.GetProperty(obj, "ActiveToolSwitches");