3 instantiations of ProjectUsingTaskParameterElement
Microsoft.Build (3)
Construction\ProjectUsingTaskParameterElement.cs (1)
177new ProjectUsingTaskParameterElement(element, containingProject)
Evaluation\ProjectParser.cs (1)
494ProjectUsingTaskParameterElement parameter = new ProjectUsingTaskParameterElement(childElement, parameterGroup, _project);
ObjectModelRemoting\LinkedObjectFactory.cs (1)
224return new ProjectUsingTaskParameterElement(link);
55 references to ProjectUsingTaskParameterElement
Microsoft.Build (14)
Construction\ProjectRootElement.cs (2)
1459public ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType) 1461return Link != null ? RootLink.CreateUsingTaskParameterElement(name, output, required, parameterType) : ProjectUsingTaskParameterElement.CreateDisconnected(name, output, required, parameterType, this);
Construction\ProjectUsingTaskParameterElement.cs (2)
172internal static ProjectUsingTaskParameterElement CreateDisconnected(string parameterName, string output, string required, string parameterType, ProjectRootElement containingProject) 176var parameter =
Construction\UsingTaskParameterGroupElement.cs (5)
60public ICollection<ProjectUsingTaskParameterElement> Parameters => GetChildrenOfType<ProjectUsingTaskParameterElement>(); 78public ProjectUsingTaskParameterElement AddParameter(string name, string output, string required, string parameterType) 82ProjectUsingTaskParameterElement newParameter = ContainingProject.CreateUsingTaskParameterElement(name, output, required, parameterType); 91public ProjectUsingTaskParameterElement AddParameter(string name)
Evaluation\ProjectParser.cs (1)
494ProjectUsingTaskParameterElement parameter = new ProjectUsingTaskParameterElement(childElement, parameterGroup, _project);
Instance\TaskRegistry.cs (1)
1681foreach (ProjectUsingTaskParameterElement parameter in usingTaskParameterGroup.Parameters)
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
173public abstract ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType);
ObjectModelRemoting\ConstructionObjectLinks\ProjectUsingTaskParameterElementLink.cs (1)
12/// Allow for creating a local representation to external object of type <see cref="ProjectUsingTaskParameterElement"/>
ObjectModelRemoting\LinkedObjectFactory.cs (1)
222public ProjectUsingTaskParameterElement Create(ProjectUsingTaskParameterElementLink link)
Microsoft.Build.Engine.OM.UnitTests (36)
Construction\ConstructionEditing_Tests.cs (8)
2659var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 2672var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 2685var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 2698var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 2962var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 2975var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 2988var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt"); 3001var element = usingTask.AddParameterGroup().AddParameter("n", "o", "r", "pt");
Construction\UsingTaskParameterElement_Tests.cs (13)
52ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 66ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentNoAttributesSet); 102ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 116ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 130ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 144ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 158ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 172ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 186ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 200ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 214ProjectUsingTaskParameterElement parameter = GetParameterXml(s_contentAllAttributesSet); 225private static ProjectUsingTaskParameterElement GetParameterXml(string contents) 231ProjectUsingTaskParameterElement body = Helpers.GetFirst(parameterGroup.Parameters);
Construction\UsingTaskParameterGroup_Tests.cs (1)
84foreach (ProjectUsingTaskParameterElement parameter in parameterGroup.Parameters)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
729public static void Verify(ProjectUsingTaskParameterElement viewXml, ProjectUsingTaskParameterElement realXml, ValidationContext context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
169if (VerifyCheckType<ProjectUsingTaskParameterElement>(view, real, context, Verify))
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (4)
128xmlPair.CreateWithVerify<ProjectUsingTaskParameterElement>((p) => p.CreateUsingTaskParameterElement("name", "output", "required", "paramType")); 544taskParamGroup.Add2NewNamedChildrenWithVerify<ProjectUsingTaskParameterElement>("paraX", (tpg, n) => tpg.AddParameter(n), out var paraX1, out var paraX2); 546taskParamGroup.Add2NewNamedChildrenWithVerify<ProjectUsingTaskParameterElement>("paraY", (tpg, n) => tpg.AddParameter(n, "output", "required", "type"), out var paraY1, out var paraY2); 561var paraElement = taskParamGroup.AddNewNamedChaildWithVerify<ProjectUsingTaskParameterElement>(ObjectType.View, "param", (tpg, n) => tpg.AddParameter(n));
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (2)
323var realCollection = preReal.AllChildren.OfType<ProjectUsingTaskParameterElement>().ToList(); 324var viewCollection = preView.AllChildren.OfType<ProjectUsingTaskParameterElement>().ToList();
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
302public override ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(string name, string output, string required, string parameterType) 304return (ProjectUsingTaskParameterElement)this.Proxy.CreateUsingTaskParameterElement(name, output, required, parameterType).Import(this.Linker);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskParameterElementLink.cs (2)
14public ProjectUsingTaskParameterElement TaskParamXml => (ProjectUsingTaskParameterElement)Source;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
71ElementInfo.New<ProjectUsingTaskParameterElement , MockProjectUsingTaskParameterElementLinkRemoter>(),
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TaskRegistry_Tests.cs (5)
1302ProjectUsingTaskParameterElement defaultParameter = parameterGroup.AddParameter("ParameterWithNoAttributes"); 1304ProjectUsingTaskParameterElement filledOutAttributesParameter = parameterGroup.AddParameter("ParameterWithAllAttributesHardCoded", bool.TrueString, bool.TrueString, typeof(Int32).FullName); 1672ProjectUsingTaskParameterElement defaultParameter = parameterGroup.AddParameter("ParameterWithNoAttributes"); 1674ProjectUsingTaskParameterElement filledOutAttributesParameter = parameterGroup.AddParameter("ParameterWithAllAttributesHardCoded"); 2144ProjectUsingTaskParameterElement filledOutAttributesParameter = parameterGroup.AddParameter("ParameterWithAllAttributesHardCoded", output, required, type);