1 instantiation of ProjectCollectionLinker
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
412var linker = new ProjectCollectionLinker(this);
117 references to ProjectCollectionLinker
Microsoft.Build.Engine.OM.UnitTests (117)
ObjectModelRemoting\Helpers\TestCollectionGroup.cs (11)
192internal ProjectCollectionLinker.ConnectedProjectCollections Group { get; } 193internal ProjectCollectionLinker Local { get; } 195internal ProjectCollectionLinker[] Remote { get; } = new ProjectCollectionLinker[2]; 200private IReadOnlyDictionary<ProjectCollectionLinker, HashSet<Project>> ImmutableProjects { get; set; } 205var result = new Dictionary<ProjectCollectionLinker, HashSet<Project>>(); 208foreach (var r in this.Remote) 221this.Group = ProjectCollectionLinker.CreateGroup(); 224this.Remote = new ProjectCollectionLinker[this.RemoteCount]; 242private void Clear(ProjectCollectionLinker linker) 272foreach (var remote in this.Remote)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (1)
466public static void VerifyProjectCollectionLinks(this ProjectCollectionLinker linker, string path, int expectedLocal, int expectedLinks)
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
22internal ProjectCollectionLinker Target { get; }
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (8)
34var pcLocal = this.StdGroup.Local; 35var pcRemote = this.StdGroup.Remote[0]; 108var pcLocal = this.StdGroup.Local; 109var pcRemote = this.StdGroup.Remote[0]; 304var pcLocal = this.StdGroup.Local; 305var pcRemote = this.StdGroup.Remote[0]; 340var pcLocal = this.StdGroup.Local; 341var pcRemote = this.StdGroup.Remote[0];
ObjectModelRemoting\LinkedProjectCollection_Tests.cs (7)
29var pcLocal = this.StdGroup.Local; 30var pcRemote = this.StdGroup.Remote[0]; 66var pcLocal = this.StdGroup.Local; 67var pcRemote0 = this.StdGroup.Remote[0]; 68var pcRemote1 = this.StdGroup.Remote[1]; 124var pcLocal = this.StdGroup.Local; 125var pcRemote = this.StdGroup.Remote[0];
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (2)
26internal ProjectCollectionLinker Target { get; } 27internal ProjectCollectionLinker Guest { get; }
ObjectModelRemoting\RemoteProjectsProviderMock\CollectionsHelpers.cs (6)
30public static IList<T> ImportCollection<T>(this ProjectCollectionLinker importer, IEnumerable<MockProjectElementLinkRemoter> source) 48public static IList<T> ImportCollection<T, RMock>(this ProjectCollectionLinker importer, IEnumerable<RMock> source) 67public static IList<MockProjectElementLinkRemoter> ExportCollection<T>(this ProjectCollectionLinker exporter, IEnumerable<T> source) 84public static IList<RMock> ExportCollection<T, RMock>(this ProjectCollectionLinker exporter, IEnumerable<T> source) 103public static IDictionary<TKey, TValue> ImportDictionary<TKey, TValue, RMock>(this ProjectCollectionLinker importer, IDictionary<TKey, RMock> source) 122public static IDictionary<TKey, RMock> ExportDictionary<TKey, TValue, RMock>(this ProjectCollectionLinker exporter, IDictionary<TKey, TValue> source)
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\InheritanceImplementationHelpers.cs (3)
28ProjectCollectionLinker Linker { get; } 34ProjectCollectionLinker Linker { get; } 42public static ProjectElement Import(this MockProjectElementLinkRemoter remoter, ProjectCollectionLinker remote)
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectChooseElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementContainerLink.cs (1)
60public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectElementLink.cs (2)
19public abstract ProjectElement ImportImpl(ProjectCollectionLinker remote); 83public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectExtensionsElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 42public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectImportElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 40public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectImportGroupElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemDefinitionElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemDefinitionGroupElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 42public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectItemGroupElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectMetadataElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 41public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectOnErrorElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectOtherwiseElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectOutputElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectPropertyElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 41public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectPropertyGroupElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectRootElementLink.cs (2)
26public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 158public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectSdkElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTargetElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 41public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTaskElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 51public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskBodyElementLink.cs (2)
16public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 40public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectUsingTaskParameterElementLink.cs (2)
15public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 38public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectWhenElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockUsingTaskParameterGroupElementLink.cs (2)
14public override ProjectElement ImportImpl(ProjectCollectionLinker remote) 35public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (4)
21private delegate MockProjectElementLinkRemoter ExporterFactory(ProjectCollectionLinker exporter, ProjectElement xml); 76private static MockProjectElementLinkRemoter Export<RMock>(ProjectCollectionLinker exporter, ProjectElement xml) 95private static MockProjectElementLinkRemoter NotImplemented(ProjectCollectionLinker exporter, ProjectElement xml) 100public static MockProjectElementLinkRemoter ExportElement(this ProjectCollectionLinker exporter, ProjectElement xml)
ObjectModelRemoting\RemoteProjectsProviderMock\DirectlyRemotedClasses.cs (4)
15internal static RemotedResolvedImport Export(this ResolvedImport resolvedImport, ProjectCollectionLinker exporter) 20internal static ResolvedImport Import(this RemotedResolvedImport remoted, ProjectCollectionLinker importer) 28public RemotedResolvedImport(ResolvedImport resolvedImport, ProjectCollectionLinker exporter) 44private ResolvedImport Import(ProjectCollectionLinker importer)
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemDefinitionLink.cs (1)
40public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (1)
47public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
126public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectMetadataLink.cs (1)
55public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (1)
42public ProjectCollectionLinker Linker => this.Holder.Linker;
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (16)
109public ProjectCollectionLinker OwningCollection { get; private set; } 119this.OwningCollection = (ProjectCollectionLinker)context; 132ProjectCollectionLinker Linker { get; } 139ProjectCollectionLinker Linker { get; } 200private void ConnectTo(ProjectCollectionLinker other) 387this.Linker = (ProjectCollectionLinker)context; 393public ProjectCollectionLinker Linker { get; private set; } 408private List<ProjectCollectionLinker> group = new List<ProjectCollectionLinker>(); 410public ProjectCollectionLinker AddNew() 412var linker = new ProjectCollectionLinker(this); 415foreach (var l in group) 420var updatedGroup = new List<ProjectCollectionLinker>(group); 432foreach (var l in group) 452public ExternalConnection(ProjectCollectionLinker linker) 458public ProjectCollectionLinker Linker { get; }