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