27 references to ParameterGroupAndTaskBody
Microsoft.Build (6)
Instance\TaskRegistry.cs (6)
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);
Microsoft.Build.Engine.UnitTests (21)
BackEnd\TaskRegistry_Tests.cs (19)
1230
Assert.Empty(registeredTaskRecords[0].
ParameterGroupAndTaskBody
.UsingTaskParameters);
1231
Assert.Null(registeredTaskRecords[0].
ParameterGroupAndTaskBody
.InlineTaskXmlBody);
1282
TaskRegistry.RegisteredTaskRecord.ParameterGroupAndTaskElementRecord inlineTaskRecord = registeredTaskRecords[0].
ParameterGroupAndTaskBody
;
1319
TaskRegistry.RegisteredTaskRecord.ParameterGroupAndTaskElementRecord inlineTaskRecord = registeredTaskRecords[0].
ParameterGroupAndTaskBody
;
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);
1692
TaskRegistry.RegisteredTaskRecord.ParameterGroupAndTaskElementRecord inlineTaskRecord = registeredTaskRecords[0].
ParameterGroupAndTaskBody
;
1740
TaskRegistry.RegisteredTaskRecord.ParameterGroupAndTaskElementRecord inlineTaskRecord = registeredTaskRecords[0].
ParameterGroupAndTaskBody
;
1764
TaskRegistry.RegisteredTaskRecord.ParameterGroupAndTaskElementRecord inlineTaskRecord = registeredTaskRecords[0].
ParameterGroupAndTaskBody
;
1780
Assert.False(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].
ParameterGroupAndTaskBody
.TaskBodyEvaluated.Equals(body));
1798
Assert.False(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].
ParameterGroupAndTaskBody
.TaskBodyEvaluated.Equals(expandedBody));
1824
Assert.False(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].
ParameterGroupAndTaskBody
.TaskBodyEvaluated);
1836
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].
ParameterGroupAndTaskBody
.TaskBodyEvaluated);
1848
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].
ParameterGroupAndTaskBody
.TaskBodyEvaluated);
2128
Assert.True(registry.TaskRegistrations[new TaskRegistry.RegisteredTaskIdentity("Name", null)][0].
ParameterGroupAndTaskBody
.UsingTaskParameters["ParameterWithAllAttributesHardCoded"].PropertyType.Equals(paramType));
TestComparers\TaskRegistryComparers.cs (2)
51
Assert.Equal(x.
ParameterGroupAndTaskBody
, y.
ParameterGroupAndTaskBody
, new ParamterGroupAndTaskBodyComparer());