1 instantiation of CommandLineToolSwitch
Microsoft.Build.Tasks.Core (1)
XamlTaskFactory\CommandLineGenerator.cs (1)
55var switchToAdd = new CommandLineToolSwitch();
25 references to CommandLineToolSwitch
Microsoft.Build.Tasks.Core (25)
XamlTaskFactory\CommandLineGenerator.cs (17)
33private readonly Dictionary<string, CommandLineToolSwitch> _activeCommandLineToolSwitches = new Dictionary<string, CommandLineToolSwitch>(StringComparer.OrdinalIgnoreCase); 55var switchToAdd = new CommandLineToolSwitch(); 173internal CommandLineGenerator(Dictionary<string, CommandLineToolSwitch> activeCommandLineToolSwitches, IEnumerable<string> switchOrderList) 234internal void GenerateCommandsAccordingToType(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch, bool recursive) 269internal bool VerifyRequiredArgumentsArePresent(CommandLineToolSwitch property, bool throwOnError) 278internal bool VerifyDependenciesArePresent(CommandLineToolSwitch property) 343private static void EmitTaskItemArraySwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 368private static void EmitStringArraySwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 414private static bool PerformSwitchValueSubstition(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch, string switchValue) 445private static void EmitIntegerSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 472private void EmitStringSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 526if (_activeCommandLineToolSwitches.TryGetValue(arg.Item1, out CommandLineToolSwitch argSwitch)) 553private static void EmitBooleanSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 578private static void EmitReversibleBooleanSwitch(CommandLineBuilder clb, CommandLineToolSwitch commandLineToolSwitch) 604CommandLineToolSwitch property = _activeCommandLineToolSwitches[propertyName]; 715CommandLineToolSwitch property = _activeCommandLineToolSwitches[propertyName];
XamlTaskFactory\XamlDataDrivenToolTask.cs (8)
74public Dictionary<string, CommandLineToolSwitch> ActiveToolSwitchesValues { get; set; } = new Dictionary<string, CommandLineToolSwitch>(StringComparer.OrdinalIgnoreCase); 85protected internal Dictionary<string, CommandLineToolSwitch> ActiveToolSwitches { get; } = new Dictionary<string, CommandLineToolSwitch>(StringComparer.OrdinalIgnoreCase); 112public void ReplaceToolSwitch(CommandLineToolSwitch switchToAdd) 120public void AddActiveSwitchToolValue(CommandLineToolSwitch switchToAdd) 229foreach (KeyValuePair<string, CommandLineToolSwitch> overriddenSwitch in ActiveToolSwitches) 235foreach (KeyValuePair<string, CommandLineToolSwitch> overrideTarget in ActiveToolSwitches)