20 instantiations of TaskParameter
Microsoft.Build (3)
TaskHostConfiguration.cs (1)
204_taskParameters[parameter.Key] = new TaskParameter(parameter.Value);
TaskHostTaskComplete.cs (1)
123_taskOutputParameters[parameter.Key] = new TaskParameter(parameter.Value);
TaskParameter.cs (1)
281TaskParameter taskParameter = new TaskParameter();
Microsoft.Build.Engine.UnitTests (17)
TaskParameter_Tests.cs (17)
31TaskParameter t = new TaskParameter(null); 64TaskParameter t = new TaskParameter(value); 106TaskParameter t = new TaskParameter(array); 124TaskParameter t = new TaskParameter(value); 145TaskParameter t = new TaskParameter(value); 172TaskParameter t = new TaskParameter(TestEnumForParameter.SomethingElse); 192TaskParameter t = new TaskParameter(new TaskItem("foo")); 220TaskParameter t = new TaskParameter(baseItem); 248TaskParameter t = new TaskParameter(new ITaskItem[] { new TaskItem("foo"), new TaskItem("bar") }); 277TaskParameter t = new TaskParameter(new TaskItem("foo%3bbar")); 302TaskParameter t = new TaskParameter(new TaskItem("foo%253bbar")); 319TaskParameter t3 = new TaskParameter(t2.WrappedParameter); 338TaskParameter t = new TaskParameter(new TaskItem("foo;bar")); 369TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 402TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 423TaskParameter t3 = new TaskParameter(t2.WrappedParameter); 449TaskParameter t = new TaskParameter(new TaskItem("foo", metadata));
66 references to TaskParameter
Microsoft.Build (16)
Instance\TaskFactories\TaskHostTask.cs (1)
495foreach (KeyValuePair<string, TaskParameter> outputParam in taskHostTaskComplete.TaskOutputParameters)
TaskHostConfiguration.cs (4)
91private Dictionary<string, TaskParameter> _taskParameters; 200_taskParameters = new Dictionary<string, TaskParameter>(StringComparer.OrdinalIgnoreCase); 354public Dictionary<string, TaskParameter> TaskParameters 442translator.TranslateDictionary(ref _taskParameters, StringComparer.OrdinalIgnoreCase, TaskParameter.FactoryForDeserialization);
TaskHostTaskComplete.cs (5)
85private Dictionary<string, TaskParameter> _taskOutputParameters = null; 120_taskOutputParameters = new Dictionary<string, TaskParameter>(StringComparer.OrdinalIgnoreCase); 191public Dictionary<string, TaskParameter> TaskOutputParameters 198_taskOutputParameters = new Dictionary<string, TaskParameter>(StringComparer.OrdinalIgnoreCase); 244translator.TranslateDictionary(ref _taskOutputParameters, StringComparer.OrdinalIgnoreCase, TaskParameter.FactoryForDeserialization);
TaskParameter.cs (6)
279internal static TaskParameter FactoryForDeserialization(ITranslator translator) 281TaskParameter taskParameter = new TaskParameter(); 503/// Serializes or deserializes a primitive type value wrapped by this <see cref="TaskParameter"/>. 578/// Serializes or deserializes an array of primitive type values wrapped by this <see cref="TaskParameter"/>. 655/// Serializes or deserializes the value type instance wrapped by this <see cref="TaskParameter"/>. 682/// Serializes or deserializes the value type array instance wrapped by this <see cref="TaskParameter"/>.
Microsoft.Build.Engine.UnitTests (50)
TaskParameter_Tests.cs (50)
31TaskParameter t = new TaskParameter(null); 37TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 64TaskParameter t = new TaskParameter(value); 71TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 106TaskParameter t = new TaskParameter(array); 113TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 124TaskParameter t = new TaskParameter(value); 130TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 145TaskParameter t = new TaskParameter(value); 151TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 172TaskParameter t = new TaskParameter(TestEnumForParameter.SomethingElse); 179TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 192TaskParameter t = new TaskParameter(new TaskItem("foo")); 201TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 220TaskParameter t = new TaskParameter(baseItem); 231TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 248TaskParameter t = new TaskParameter(new ITaskItem[] { new TaskItem("foo"), new TaskItem("bar") }); 259TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 277TaskParameter t = new TaskParameter(new TaskItem("foo%3bbar")); 286TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 302TaskParameter t = new TaskParameter(new TaskItem("foo%253bbar")); 311TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 319TaskParameter t3 = new TaskParameter(t2.WrappedParameter); 322TaskParameter t4 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 338TaskParameter t = new TaskParameter(new TaskItem("foo;bar")); 348TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 369TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 380TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 402TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 413TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 423TaskParameter t3 = new TaskParameter(t2.WrappedParameter); 426TaskParameter t4 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator()); 449TaskParameter t = new TaskParameter(new TaskItem("foo", metadata)); 462TaskParameter t2 = TaskParameter.FactoryForDeserialization(TranslationHelpers.GetReadTranslator());