20 references to UsingTaskParameters
Microsoft.Build (4)
Instance\TaskRegistry.cs (4)
1393
loadedType = taskFactory.InitializeFactory(taskFactoryLoadInfo, RegisteredName, ParameterGroupAndTaskBody.
UsingTaskParameters
, ParameterGroupAndTaskBody.InlineTaskXmlBody, TaskFactoryParameters, explicitlyLaunchTaskHost, targetLoggingContext, elementLocation, taskProjectFile);
1471
initialized = factory2.Initialize(RegisteredName, TaskFactoryParameters, ParameterGroupAndTaskBody.
UsingTaskParameters
, ParameterGroupAndTaskBody.InlineTaskXmlBody, taskFactoryLoggingHost);
1475
initialized = factory.Initialize(RegisteredName, ParameterGroupAndTaskBody.
UsingTaskParameters
, ParameterGroupAndTaskBody.InlineTaskXmlBody, taskFactoryLoggingHost);
1761
UsingTaskParameters
.Add(parameter.Name, new TaskPropertyInfo(parameter.Name, paramType, output, required));
Microsoft.Build.Engine.UnitTests (16)
BackEnd\TaskRegistry_Tests.cs (14)
1230
Assert.Empty(registeredTaskRecords[0].ParameterGroupAndTaskBody.
UsingTaskParameters
);
1285
Assert.Empty(inlineTaskRecord.
UsingTaskParameters
);
1322
Assert.Equal(2, inlineTaskRecord.
UsingTaskParameters
.Count);
1324
TaskPropertyInfo parameterInfo = inlineTaskRecord.
UsingTaskParameters
[defaultParameter.Name];
1331
parameterInfo = inlineTaskRecord.
UsingTaskParameters
[filledOutAttributesParameter.Name];
1351
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(typeof(String)));
1366
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(typeof(String)));
1576
Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"]).Output);
1591
Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"]).Output);
1623
Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"]).Required);
1638
Assert.False(((TaskPropertyInfo)registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"]).Required);
1695
Assert.Equal(2, inlineTaskRecord.
UsingTaskParameters
.Count);
1701
TaskPropertyInfo parameterInfo = inlineTaskRecord.
UsingTaskParameters
[filledOutAttributesParameter.Name];
2128
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].ParameterGroupAndTaskBody.
UsingTaskParameters
["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(paramType));
TestComparers\TaskRegistryComparers.cs (2)
81
x.
UsingTaskParameters
,
82
y.
UsingTaskParameters
,