9 types derived from ProjectElement
Microsoft.Build (9)
Construction\ProjectElementContainer.cs (1)
21
public abstract class ProjectElementContainer :
ProjectElement
Construction\ProjectExtensionsElement.cs (1)
20
public class ProjectExtensionsElement :
ProjectElement
Construction\ProjectImportElement.cs (1)
17
public class ProjectImportElement :
ProjectElement
Construction\ProjectMetadataElement.cs (1)
16
public class ProjectMetadataElement :
ProjectElement
Construction\ProjectOnErrorElement.cs (1)
16
public class ProjectOnErrorElement :
ProjectElement
Construction\ProjectOutputElement.cs (1)
18
public class ProjectOutputElement :
ProjectElement
Construction\ProjectPropertyElement.cs (1)
24
public class ProjectPropertyElement :
ProjectElement
, IPropertyElementWithLocation
Construction\ProjectUsingTaskBodyElement.cs (1)
18
public class ProjectUsingTaskBodyElement :
ProjectElement
Construction\ProjectUsingTaskParameterElement.cs (1)
17
public class ProjectUsingTaskParameterElement :
ProjectElement
626 references to ProjectElement
Microsoft.Build (236)
Construction\ProjectChooseElement.cs (3)
105
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
124
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectElement.cs (16)
33
private
ProjectElement
_previousSibling;
34
private
ProjectElement
_nextSibling;
210
public
ProjectElement
PreviousSibling
225
public
ProjectElement
NextSibling
342
public
ProjectElement
Clone()
351
public virtual void CopyFrom(
ProjectElement
element)
474
internal abstract void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer proposedParent,
ProjectElement
previousSibling,
ProjectElement
nextSibling);
504
protected internal virtual
ProjectElement
Clone(ProjectRootElement factory)
506
var
clone = CreateNewInstance(factory);
522
protected abstract
ProjectElement
CreateNewInstance(ProjectRootElement owner);
524
internal static
ProjectElement
CreateNewInstance(
ProjectElement
xml, ProjectRootElement owner)
632
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
638
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectElementContainer.cs (68)
26
private
ProjectElement
_firstChild;
27
private
ProjectElement
_lastChild;
65
public IEnumerable<
ProjectElement
> AllChildren => GetDescendants();
68
where T :
ProjectElement
76
public ICollection<
ProjectElement
> Children
80
? Array.Empty<
ProjectElement
>()
81
: new Collections.ReadOnlyCollection<
ProjectElement
>(new ProjectElementSiblingEnumerable(FirstChild));
92
where T :
ProjectElement
100
public ICollection<
ProjectElement
> ChildrenReversed
104
? Array.Empty<
ProjectElement
>()
105
: new Collections.ReadOnlyCollection<
ProjectElement
>(new ProjectElementSiblingEnumerable(LastChild, forwards: false));
109
where T :
ProjectElement
123
public
ProjectElement
FirstChild { get => Link != null ? ContainerLink.FirstChild : _firstChild; private set => _firstChild = value; }
129
public
ProjectElement
LastChild { get => Link != null ? ContainerLink.LastChild : _lastChild; private set => _lastChild = value; }
143
public void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference)
198
public void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference)
248
public void AppendChild(
ProjectElement
child)
267
public void PrependChild(
ProjectElement
child)
293
public void RemoveChild(
ProjectElement
child)
338
/// during enumeration. See <see cref="ProjectElementContainer.RemoveChild(
ProjectElement
)"/>.
342
foreach (
ProjectElement
child in ChildrenEnumerable)
365
foreach (
ProjectElement
child in element.ChildrenEnumerable)
387
internal void AppendParentedChildNoChecks(
ProjectElement
child)
419
foreach (
ProjectElement
child in ChildrenEnumerable)
439
private void SetElementAsAttributeValue(
ProjectElement
child)
456
internal void UpdateElementName(
ProjectElement
child, string oldName)
472
internal void UpdateElementValue(
ProjectElement
child)
492
internal void AddToXml(
ProjectElement
child)
520
bool SiblingIsExplicitElement(
ProjectElement
_) => !_.ExpressedAsAttribute;
522
if (TrySearchLeftSiblings(child.PreviousSibling, SiblingIsExplicitElement, out
ProjectElement
referenceSibling))
598
internal void RemoveFromXml(
ProjectElement
child)
640
internal void AddInitialChild(
ProjectElement
child)
673
private void VerifyForInsertBeforeAfterFirst(
ProjectElement
child,
ProjectElement
reference)
692
private void VerifyThrowInvalidOperationNotSelfAncestor(
ProjectElement
element)
694
ProjectElement
ancestor = this;
708
private IEnumerable<
ProjectElement
> GetDescendants()
710
ProjectElement
child = FirstChild;
718
foreach (
ProjectElement
grandchild in container.AllChildren)
729
where T :
ProjectElement
731
ProjectElement
child = FirstChild;
752
private static bool TrySearchLeftSiblings(
ProjectElement
initialElement, Predicate<
ProjectElement
> siblingIsAcceptable, out
ProjectElement
referenceSibling)
757
private static bool TrySearchRightSiblings(
ProjectElement
initialElement, Predicate<
ProjectElement
> siblingIsAcceptable, out
ProjectElement
referenceSibling)
763
ProjectElement
initialElement,
764
Predicate<
ProjectElement
> siblingIsAcceptable,
765
Func<
ProjectElement
,
ProjectElement
> nextSibling,
766
out
ProjectElement
referenceSibling)
774
var
sibling = initialElement;
787
where T :
ProjectElement
789
private readonly
ProjectElement
_initial;
793
internal ProjectElementSiblingSubTypeCollection(
ProjectElement
initial, bool forwards = true)
883
internal Enumerator(
ProjectElement
initial, bool forwards = true)
911
ProjectElement
innerCurrent = _innerEnumerator.Current;
933
internal readonly struct ProjectElementSiblingEnumerable : IEnumerable<
ProjectElement
>
943
internal ProjectElementSiblingEnumerable(
ProjectElement
initial, bool forwards = true)
951
public readonly IEnumerator<
ProjectElement
> GetEnumerator() => _enumerator;
961
public struct Enumerator : IEnumerator<
ProjectElement
>
966
private readonly
ProjectElement
_initial;
978
internal Enumerator(
ProjectElement
initial, bool forwards)
989
public
ProjectElement
Current { get; private set; }
1020
ProjectElement
next;
Construction\ProjectExtensionsElement.cs (4)
162
public override void CopyFrom(
ProjectElement
element)
203
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
209
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectImportElement.cs (6)
22
private
ProjectElement
_originalElement;
131
public
ProjectElement
OriginalElement { get => Link != null ? ImportLink.OriginalElement : _originalElement; internal set => _originalElement = value; }
159
ProjectElement
originalElement)
176
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
182
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectImportGroupElement.cs (3)
87
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
93
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectItemDefinitionElement.cs (3)
113
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
119
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectItemDefinitionGroupElement.cs (3)
78
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
84
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectItemElement.cs (5)
360
ProjectElement
sibling = NextSibling;
410
public override void CopyFrom(
ProjectElement
element)
473
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
498
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectItemGroupElement.cs (5)
107
ProjectElement
reference = LastChild;
152
public override void CopyFrom(
ProjectElement
element)
175
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
181
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectMetadataElement.cs (3)
166
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
172
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectOnErrorElement.cs (3)
87
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
93
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectOtherwiseElement.cs (3)
99
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
106
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectOutputElement.cs (3)
168
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
174
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectPropertyElement.cs (3)
132
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
138
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectPropertyGroupElement.cs (3)
108
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
114
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectRootElement.cs (6)
1033
ProjectElement
reference = ItemGroupsReversed.FirstOrDefault();
1110
ProjectElement
reference = null;
1802
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
1890
foreach (
ProjectElement
child in ChildrenEnumerable)
1980
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectSdkElement.cs (3)
80
ProjectElement
previousSibling,
ProjectElement
nextSibling)
86
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectTargetElement.cs (4)
391
public override void CopyFrom(
ProjectElement
element)
415
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
430
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectTaskElement.cs (4)
396
public override void CopyFrom(
ProjectElement
element)
425
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
431
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectUsingTaskBodyElement.cs (3)
143
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
149
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectUsingTaskElement.cs (3)
266
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
272
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectUsingTaskParameterElement.cs (3)
191
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
197
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\ProjectWhenElement.cs (3)
80
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
87
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Construction\UsingTaskParameterGroupElement.cs (3)
112
internal override void VerifyThrowInvalidOperationAcceptableLocation(ProjectElementContainer parent,
ProjectElement
previousSibling,
ProjectElement
nextSibling)
118
protected override
ProjectElement
CreateNewInstance(ProjectRootElement owner)
Definition\Project.cs (12)
1122
public IEnumerable<
ProjectElement
> GetLogicalProject()
2858
public override IEnumerable<
ProjectElement
> GetLogicalProject()
2864
foreach (
ProjectElement
child in GetLogicalProject(import.AllChildren))
2870
foreach (
ProjectElement
child in GetLogicalProject(Xml.AllChildren))
2879
foreach (
ProjectElement
child in GetLogicalProject(import.AllChildren))
3011
ProjectElement
element = GetAnySuitableExistingItemXml(itemType, unevaluatedInclude, metadata, out ProjectItemElement itemElement);
3838
private
ProjectElement
GetAnySuitableExistingItemXml(string itemType, string unevaluatedInclude, IEnumerable<KeyValuePair<string, string>> metadata, out ProjectItemElement suitableExistingItemXml)
3916
private IEnumerable<
ProjectElement
> GetLogicalProject(IEnumerable<
ProjectElement
> projectElements)
3918
foreach (
ProjectElement
element in projectElements)
3934
IEnumerable<
ProjectElement
> childElements = GetLogicalProject(child.AllChildren);
3936
foreach (
ProjectElement
childElement in childElements)
Definition\Toolset.cs (1)
1077
foreach (
ProjectElement
elementXml in projectRootElement.ChildrenEnumerable)
Evaluation\Evaluator.cs (8)
552
foreach (
ProjectElement
targetChildElement in targetElement.ChildrenEnumerable)
891
foreach (
ProjectElement
element in currentProjectOrImport.ChildrenEnumerable)
1460
foreach (
ProjectElement
element in children)
2376
private bool EvaluateCondition(
ProjectElement
element, ExpanderOptions expanderOptions, ParserOptions parserOptions)
2381
private bool EvaluateCondition(
ProjectElement
element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions)
2404
private bool EvaluateConditionCollectingConditionedProperties(
ProjectElement
element, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null)
2412
private bool EvaluateConditionCollectingConditionedProperties(
ProjectElement
element, string condition, ExpanderOptions expanderOptions, ParserOptions parserOptions, ProjectRootElementCacheBase projectRootElementCache = null)
2448
private string GetCurrentDirectoryForConditionEvaluation(
ProjectElement
element)
Evaluation\LazyItemEvaluator.cs (3)
65
public bool EvaluateConditionWithCurrentState(
ProjectElement
element, ExpanderOptions expanderOptions, ParserOptions parserOptions)
72
ProjectElement
element,
107
private static string GetCurrentDirectoryForConditionEvaluation(
ProjectElement
element, LazyItemEvaluator<P, I, M, D> lazyEvaluator)
Evaluation\Profiler\EvaluationProfiler.cs (1)
70
public IDisposable TrackElement(
ProjectElement
element)
Evaluation\ProjectParser.cs (4)
534
ProjectElement
child = null;
591
ProjectElement
child = null;
783
ProjectElement
child = null;
847
ProjectElement
child = null;
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementContainerLink.cs (9)
24
public abstract
ProjectElement
FirstChild { get; }
29
public abstract
ProjectElement
LastChild { get; }
34
public abstract void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference);
39
public abstract void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference);
44
public abstract void AddInitialChild(
ProjectElement
child);
54
public abstract void RemoveChild(
ProjectElement
child);
59
public static void AddInitialChild(ProjectElementContainer xml,
ProjectElement
child) => xml.AddInitialChild(child);
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (30)
17
/// <see cref="
ProjectElement
.XmlElement"/> and <see cref="
ProjectElement
.Link"/>
34
/// Allow for creating a local representation to external construction objects derived from <see cref="
ProjectElement
"/>
49
/// Access to remote <see cref="
ProjectElement
.Parent"/>.
54
/// Access to remote <see cref="
ProjectElement
.ContainingProject"/>.
59
/// Access to remote <see cref="
ProjectElement
.ElementName"/>.
64
/// Access to remote <see cref="
ProjectElement
.OuterElement"/>.
69
/// Access to remote <see cref="
ProjectElement
.ExpressedAsAttribute"/>.
74
/// Access to remote <see cref="
ProjectElement
.PreviousSibling"/>.
76
public abstract
ProjectElement
PreviousSibling { get; }
79
/// Access to remote <see cref="
ProjectElement
.NextSibling"/>.
81
public abstract
ProjectElement
NextSibling { get; }
84
/// Access to remote <see cref="
ProjectElement
.Location"/>.
89
/// Supports <see cref="
ProjectElement
.CopyFrom"/>.
94
/// Supports <see cref="
ProjectElement
.CopyFrom"/>.
115
/// Facilitate remoting to remote <see cref="
ProjectElement
.CopyFrom"/>.
117
public abstract void CopyFrom(
ProjectElement
element);
120
/// Facilitate remoting to remote <see cref="
ProjectElement
.CreateNewInstance(ProjectRootElement)"/>.
122
public abstract
ProjectElement
CreateNewInstance(ProjectRootElement owner);
127
public static bool GetExpressedAsAttribute(
ProjectElement
xml) => xml.ExpressedAsAttribute;
128
public static void SetExpressedAsAttribute(
ProjectElement
xml, bool value) => xml.ExpressedAsAttribute = value;
129
public static ElementLocation GetAttributeLocation(
ProjectElement
xml, string attributeName) => xml.GetAttributeLocation(attributeName);
130
public static string GetAttributeValue(
ProjectElement
xml, string attributeName, bool nullIfNotExists) => xml.GetAttributeValue(attributeName, nullIfNotExists);
131
public static void SetOrRemoveAttribute(
ProjectElement
xml, string name, string value, bool clearAttributeCache, string reason, string param) => xml.SetOrRemoveAttributeForLink(name, value, clearAttributeCache, reason, param);
132
public static void MarkDirty(
ProjectElement
xml, string reason, string param) => xml.MarkDirty(reason, param);
133
public static
ProjectElement
CreateNewInstance(
ProjectElement
xml, ProjectRootElement owner) =>
ProjectElement
.CreateNewInstance(xml, owner);
135
public static string GetPureText(
ProjectElement
xml)
145
public static IReadOnlyCollection<XmlAttributeLink> GetAttributes(
ProjectElement
xml)
ObjectModelRemoting\ConstructionObjectLinks\ProjectImportElementLink.cs (1)
24
public abstract
ProjectElement
OriginalElement { get; }
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
161
public abstract IEnumerable<
ProjectElement
> GetLogicalProject();
Microsoft.Build.Engine.OM.UnitTests (389)
Construction\ConstructionEditing_Tests.cs (18)
2383
List<
ProjectElement
> allChildren = new List<
ProjectElement
>(group2.AllChildren);
2385
Helpers.AssertListsValueEqual(allChildren, new List<
ProjectElement
> { item1, item2 });
2406
List<
ProjectElement
> allChildren = new List<
ProjectElement
>(group2.AllChildren);
2408
Helpers.AssertListsValueEqual(allChildren, new List<
ProjectElement
> { item2, item1 });
2429
List<
ProjectElement
> allChildren = new List<
ProjectElement
>(group2.AllChildren);
2431
Helpers.AssertListsValueEqual(allChildren, new List<
ProjectElement
> { item2, item1 });
2452
List<
ProjectElement
> allChildren = new List<
ProjectElement
>(group2.AllChildren);
2454
Helpers.AssertListsValueEqual(allChildren, new List<
ProjectElement
> { item1, item2 });
2475
List<
ProjectElement
> allChildren = new List<
ProjectElement
>(group2.AllChildren);
2477
Helpers.AssertListsValueEqual(allChildren, new List<
ProjectElement
> { item1, item2 });
2499
List<
ProjectElement
> allChildren = new List<
ProjectElement
>(group2.AllChildren);
2501
Helpers.AssertListsValueEqual(allChildren, new List<
ProjectElement
> { item1, item2 });
Construction\ElementLocationPublic_Tests.cs (1)
123
foreach (
var
element in project.Xml.AllChildren)
Construction\WhiteSpacePreservation_Tests.cs (1)
405
var
existingItemElement = itemGroup.FirstChild;
Definition\Project_Tests.cs (6)
619
List<
ProjectElement
> logicalElements = new List<
ProjectElement
>(project.GetLogicalProject());
2573
List<
ProjectElement
> logicalProject = new List<
ProjectElement
>(project.GetLogicalProject());
2619
List<
ProjectElement
> logicalProject = new List<
ProjectElement
>(project.GetLogicalProject());
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (28)
18
where T :
ProjectElement
26
where CT :
ProjectElement
42
where CT :
ProjectElement
46
where CT :
ProjectElement
59
where CT :
ProjectElement
71
where CT :
ProjectElement
75
where CT :
ProjectElement
87
where CT :
ProjectElement
94
where CT :
ProjectElement
101
where CT :
ProjectElement
108
where CT :
ProjectElement
115
where CT :
ProjectElement
122
where CT :
ProjectElement
130
where CT :
ProjectElement
138
where CT :
ProjectElement
146
where CT :
ProjectElement
185
where CT :
ProjectElement
194
where CT :
ProjectElement
201
where CT :
ProjectElement
215
where CT :
ProjectElement
226
where CT :
ProjectElement
229
where CT :
ProjectElement
376
private static void VerifyProjectElementViewInternal(
ProjectElement
viewXml,
ProjectElement
realXml, ValidationContext context = null)
431
var
realChild = realXml.FirstChild;
432
var
viewChild = viewXml.FirstChild;
497
public static void VerifyProjectElement(
ProjectElement
viewXml,
ProjectElement
realXml, ValidationContext context = null)
ObjectModelRemoting\RemoteProjectsProviderMock\CollectionsHelpers.cs (2)
31
where T :
ProjectElement
68
where T :
ProjectElement
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\InheritanceImplementationHelpers.cs (15)
42
public static
ProjectElement
Import(this MockProjectElementLinkRemoter remoter, ProjectCollectionLinker remote)
82
public static
ProjectElement
GetPreviousSibling(this IProjectElementLinkHelper xml)
87
public static
ProjectElement
GetNextSibling(this IProjectElementLinkHelper xml)
107
public static void CopyFrom(this IProjectElementLinkHelper xml,
ProjectElement
element)
112
public static
ProjectElement
CreateNewInstance(this IProjectElementLinkHelper xml, ProjectRootElement owner)
114
return xml.ElementProxy.CreateNewInstance(xml.Linker.Export<
ProjectElement
, MockProjectRootElementLinkRemoter>(owner)).Import(xml.Linker);
139
public static
ProjectElement
GetFirstChild(this IProjectElementContainerLinkHelper xml)
144
public static
ProjectElement
GetLastChild(this IProjectElementContainerLinkHelper xml)
149
public static void InsertAfterChild(this IProjectElementContainerLinkHelper xml,
ProjectElement
child,
ProjectElement
reference)
155
public static void InsertBeforeChild(this IProjectElementContainerLinkHelper xml,
ProjectElement
child,
ProjectElement
reference)
161
public static void AddInitialChild(this IProjectElementContainerLinkHelper xml,
ProjectElement
child)
168
var factoryRemote = xml.Linker.Export<
ProjectElement
, MockProjectRootElementLinkRemoter>(factory);
175
public static void RemoveChild(this IProjectElementContainerLinkHelper xml,
ProjectElement
child)
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectChooseElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectChooseElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (12)
74
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
75
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
79
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
80
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
89
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
90
public override
ProjectElement
LastChild => CImpl.GetLastChild();
91
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
92
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
93
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
95
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementLink.cs (8)
12
internal abstract class MockProjectElementLinkRemoter : MockLinkRemoter<
ProjectElement
>
14
public MockProjectElementLinkRemoter Export(
ProjectElement
xml)
19
public abstract
ProjectElement
ImportImpl(ProjectCollectionLinker remote);
51
var
result = ProjectElementLink.CreateNewInstance(Source, pre);
96
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
97
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
101
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
102
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectExtensionsElementLink.cs (7)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectExtensionsElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
60
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
61
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
65
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
66
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectImportElementLink.cs (8)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectImportElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
47
public override
ProjectElement
OriginalElement => Proxy.OriginalElement.Import(this.Linker);
57
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
58
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
62
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
63
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectImportGroupElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectImportGroupElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemDefinitionElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectItemDefinitionElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemDefinitionGroupElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectItemDefinitionGroupElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemElementLink.cs (15)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectItemElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
59
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
60
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
64
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
65
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
74
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
75
public override
ProjectElement
LastChild => CImpl.GetLastChild();
76
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
77
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
78
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
80
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemGroupElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectItemGroupElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectMetadataElementLink.cs (7)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectMetadataElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
59
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
60
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
64
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
65
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectOnErrorElementLink.cs (7)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectOnErrorElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
47
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
48
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
52
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
53
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectOtherwiseElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectOtherwiseElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectOutputElementLink.cs (7)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectOutputElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectPropertyElementLink.cs (7)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectPropertyElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
59
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
60
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
64
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
65
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectPropertyGroupElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectPropertyGroupElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (15)
20
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
26
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
28
return remote.Import<
ProjectElement
, MockProjectRootElementLinkRemoter>(this);
171
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
172
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
176
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
177
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
186
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
187
public override
ProjectElement
LastChild => CImpl.GetLastChild();
188
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
189
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
190
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
192
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectSdkElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectSdkElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTargetElementLink.cs (15)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectTargetElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
59
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
60
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
64
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
65
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
74
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
75
public override
ProjectElement
LastChild => CImpl.GetLastChild();
76
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
77
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
78
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
80
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTaskElementLink.cs (15)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectTaskElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
75
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
76
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
80
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
81
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
90
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
91
public override
ProjectElement
LastChild => CImpl.GetLastChild();
92
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
93
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
94
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
96
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (7)
16
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
18
return remote.Import<
ProjectElement
, MockProjectUsingTaskBodyElementLinkRemoter>(this);
21
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
55
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
56
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
60
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
61
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectUsingTaskElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskParameterElementLink.cs (7)
15
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
17
return remote.Import<
ProjectElement
, MockProjectUsingTaskParameterElementLinkRemoter>(this);
20
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
51
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
52
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
56
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
57
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectWhenElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockProjectWhenElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockUsingTaskParameterGroupElementLink.cs (15)
14
public override
ProjectElement
ImportImpl(ProjectCollectionLinker remote)
16
return remote.Import<
ProjectElement
, MockUsingTaskParameterGroupElementLinkRemoter>(this);
19
public override
ProjectElement
CreateLinkedObject(IImportHolder holder)
48
public override
ProjectElement
PreviousSibling => EImpl.GetPreviousSibling();
49
public override
ProjectElement
NextSibling => EImpl.GetNextSibling();
53
public override void CopyFrom(
ProjectElement
element) => EImpl.CopyFrom(element);
54
public override
ProjectElement
CreateNewInstance(ProjectRootElement owner) => EImpl.CreateNewInstance(owner);
63
public override
ProjectElement
FirstChild => CImpl.GetFirstChild();
64
public override
ProjectElement
LastChild => CImpl.GetLastChild();
65
public override void InsertAfterChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertAfterChild(child, reference);
66
public override void InsertBeforeChild(
ProjectElement
child,
ProjectElement
reference) => CImpl.InsertBeforeChild(child, reference);
67
public override void AddInitialChild(
ProjectElement
child) => CImpl.AddInitialChild(child);
69
public override void RemoveChild(
ProjectElement
child) => CImpl.RemoveChild(child);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (9)
21
private delegate MockProjectElementLinkRemoter ExporterFactory(ProjectCollectionLinker exporter,
ProjectElement
xml);
30
public ElementInfo(Type type, Func<
ProjectElement
, bool> checker, ExporterFactory factory)
38
public ElementInfo(Func<
ProjectElement
, bool> checker, ExporterFactory factory)
45
public Func<
ProjectElement
, bool> Checker { get; }
76
private static MockProjectElementLinkRemoter Export<RMock>(ProjectCollectionLinker exporter,
ProjectElement
xml)
79
return exporter.Export<
ProjectElement
, RMock>(xml);
82
private static bool IsOfType<T>(
ProjectElement
xml) { return xml is T; }
95
private static MockProjectElementLinkRemoter NotImplemented(ProjectCollectionLinker exporter,
ProjectElement
xml)
100
public static MockProjectElementLinkRemoter ExportElement(this ProjectCollectionLinker exporter,
ProjectElement
xml)
ObjectModelRemoting\RemoteProjectsProviderMock\DirectlyRemotedClasses.cs (4)
30
this.ImportingElement = exporter.Export<
ProjectElement
, MockProjectImportElementLinkRemoter>(resolvedImport.ImportingElement);
31
this.ImportedProject = exporter.Export<
ProjectElement
, MockProjectRootElementLinkRemoter>(resolvedImport.ImportedProject);
46
var importElement = (ProjectImportElement)importer.Import<
ProjectElement
, MockProjectImportElementLinkRemoter>(this.ImportingElement);
47
var projectElement = (ProjectRootElement)importer.Import<
ProjectElement
, MockProjectRootElementLinkRemoter>(this.ImportedProject);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (2)
225
public override IEnumerable<
ProjectElement
> GetLogicalProject()
226
=> this.Linker.ImportCollection<
ProjectElement
>(this.Proxy.GetLogicalProject());
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
111
public MockProjectElementLinkRemoter ExportElement(
ProjectElement
obj)
Microsoft.Build.Engine.UnitTests (1)
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
114
IList<
ProjectElement
> children = project.GetLogicalProject().ToList();