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