3 instantiations of ProjectUsingTaskBodyElement
Microsoft.Build (3)
Construction\ProjectUsingTaskBodyElement.cs (1)
131
var taskElement = new
ProjectUsingTaskBodyElement
(element, containingProject)
Evaluation\ProjectParser.cs (1)
555
child = new
ProjectUsingTaskBodyElement
(childElement, usingTask, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
216
return new
ProjectUsingTaskBodyElement
(link);
36 references to ProjectUsingTaskBodyElement
Microsoft.Build (15)
Construction\ProjectRootElement.cs (2)
1468
public
ProjectUsingTaskBodyElement
CreateUsingTaskBodyElement(string evaluate, string body)
1470
return Link != null ? RootLink.CreateUsingTaskBodyElement(evaluate, body) :
ProjectUsingTaskBodyElement
.CreateDisconnected(evaluate, body, this);
Construction\ProjectUsingTaskBodyElement.cs (2)
128
internal static
ProjectUsingTaskBodyElement
CreateDisconnected(string evaluate, string body, ProjectRootElement containingProject)
131
var
taskElement = new ProjectUsingTaskBodyElement(element, containingProject)
Construction\ProjectUsingTaskElement.cs (5)
148
public
ProjectUsingTaskBodyElement
TaskBody
152
ProjectUsingTaskBodyElement
body = LastChild as
ProjectUsingTaskBodyElement
;
219
public
ProjectUsingTaskBodyElement
AddUsingTaskBody(string evaluate, string taskBody)
221
ProjectUsingTaskBodyElement
newTaskBody = ContainingProject.CreateUsingTaskBodyElement(evaluate, taskBody);
Instance\TaskRegistry.cs (2)
1619
ProjectUsingTaskBodyElement
taskElement = projectUsingTaskXml.TaskBody;
1638
private void EvaluateTaskBody<P, I>(Expander<P, I> expander,
ProjectUsingTaskBodyElement
taskElement, ExpanderOptions expanderOptions)
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
178
public abstract
ProjectUsingTaskBodyElement
CreateUsingTaskBodyElement(string evaluate, string body);
ObjectModelRemoting\ConstructionObjectLinks\ProjectUsingTaskBodyElementLink.cs (2)
12
/// Allow for creating a local representation to external object of type <see cref="
ProjectUsingTaskBodyElement
"/>
17
/// Access to remote <see cref="
ProjectUsingTaskBodyElement
.TaskBody"/>.
ObjectModelRemoting\LinkedObjectFactory.cs (1)
214
public
ProjectUsingTaskBodyElement
Create(ProjectUsingTaskBodyElementLink link)
Microsoft.Build.Engine.OM.UnitTests (20)
Construction\UsingTaskBodyElement_Tests.cs (7)
26
ProjectUsingTaskBodyElement
body = GetBodyXml();
77
ProjectUsingTaskBodyElement
body = GetBodyXml();
91
ProjectUsingTaskBodyElement
body = GetBodyXml();
107
ProjectUsingTaskBodyElement
body = GetBodyXml();
118
ProjectUsingTaskBodyElement
body = GetBodyXml();
128
private static
ProjectUsingTaskBodyElement
GetBodyXml()
141
ProjectUsingTaskBodyElement
body = usingTask.TaskBody;
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
715
public static void Verify(
ProjectUsingTaskBodyElement
viewXml,
ProjectUsingTaskBodyElement
realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
164
if (VerifyCheckType<
ProjectUsingTaskBodyElement
>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
123
xmlPair.CreateWithVerify<
ProjectUsingTaskBodyElement
>((p) => p.CreateUsingTaskBodyElement("eval", "body"));
500
var body = usingTaskFile.AddNewChaildWithVerify<
ProjectUsingTaskBodyElement
>(ObjectType.View, "eval", (ut, e) => ut.AddUsingTaskBody(e, "body"), (ut, e) => true);
525
var taskBody = usingTask.AddNewChaildWithVerify<
ProjectUsingTaskBodyElement
>(ObjectType.View, "eval", (ut, e) => ut.AddUsingTaskBody(e, "body"), (ut, e) => true);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (2)
297
var realCollection = preReal.AllChildren.OfType<
ProjectUsingTaskBodyElement
>().ToList();
298
var viewCollection = preView.AllChildren.OfType<
ProjectUsingTaskBodyElement
>().ToList();
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
306
public override
ProjectUsingTaskBodyElement
CreateUsingTaskBodyElement(string evaluate, string body)
308
return (
ProjectUsingTaskBodyElement
)this.Proxy.CreateUsingTaskBodyElement(evaluate, body).Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (2)
14
public
ProjectUsingTaskBodyElement
UsingTaskBodyXml => (
ProjectUsingTaskBodyElement
)Source;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
68
ElementInfo.New<
ProjectUsingTaskBodyElement
, MockProjectUsingTaskBodyElementLinkRemoter>(),
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskRegistry_Tests.cs (1)
1792
ProjectUsingTaskBodyElement
bodyElement = taskElement.TaskBody;