23 references to Export
Microsoft.Build.Engine.OM.UnitTests (23)
ObjectModelRemoting\RemoteProjectsProviderMock\CollectionsHelpers.cs (2)
96
var sRemoter = exporter.
Export
<T, RMock>(s);
134
var valueRemoter = exporter.
Export
<TValue, RMock>(s.Value);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\InheritanceImplementationHelpers.cs (2)
114
return xml.ElementProxy.CreateNewInstance(xml.Linker.
Export
<ProjectElement, MockProjectRootElementLinkRemoter>(owner)).Import(xml.Linker);
168
var factoryRemote = xml.Linker.
Export
<ProjectElement, MockProjectRootElementLinkRemoter>(factory);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
79
return exporter.
Export
<ProjectElement, RMock>(xml);
ObjectModelRemoting\RemoteProjectsProviderMock\DirectlyRemotedClasses.cs (2)
30
this.ImportingElement = exporter.
Export
<ProjectElement, MockProjectImportElementLinkRemoter>(resolvedImport.ImportingElement);
31
this.ImportedProject = exporter.
Export
<ProjectElement, MockProjectRootElementLinkRemoter>(resolvedImport.ImportedProject);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemDefinitionLink.cs (3)
21
public MockProjectLinkRemoter Project => this.OwningCollection.
Export
<Project, MockProjectLinkRemoter>(this.Source.Project);
25
=> this.OwningCollection.
Export
<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.GetMetadata(name));
28
=> this.OwningCollection.
Export
<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.SetMetadataValue(name, unevaluatedValue));
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (3)
22
public MockProjectLinkRemoter Project => this.OwningCollection.
Export
<Project, MockProjectLinkRemoter>(this.Source.Project);
29
=> this.OwningCollection.
Export
<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.GetMetadata(name));
32
=> this.OwningCollection.
Export
<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.SetMetadataValue(name, unevaluatedValue, propagateMetadataToSiblingItems));
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (4)
91
public MockProjectPropertyLinkRemoter GetProperty(string name) => this.OwningCollection.
Export
<ProjectProperty, MockProjectPropertyLinkRemoter>(this.Source.GetProperty(name));
113
=> this.OwningCollection.
Export
<ProjectProperty, MockProjectPropertyLinkRemoter>(this.Source.SetProperty(name, unevaluatedValue));
235
=> this.Proxy.RemoveItem(this.Linker.
Export
<ProjectItem, MockProjectItemLinkRemoter>(item));
240
public override bool RemoveProperty(ProjectProperty property) => this.Proxy.RemoveProperty(this.Linker.
Export
<ProjectProperty, MockProjectPropertyLinkRemoter>(property));
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectMetadataLink.cs (3)
34
return this.OwningCollection.
Export
<ProjectItem, MockProjectItemLinkRemoter>(itemParent);
37
return this.OwningCollection.
Export
<ProjectItemDefinition, MockProjectItemDefinitionLinkRemoter>((ProjectItemDefinition)parent);
43
public MockProjectMetadataLinkRemoter Predecessor => this.OwningCollection.
Export
<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.Source.Predecessor);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (2)
21
public MockProjectLinkRemoter Project => this.OwningCollection.
Export
<Project, MockProjectLinkRemoter>(this.Source.Project);
29
public MockProjectPropertyLinkRemoter Predecessor => this.OwningCollection.
Export
<ProjectProperty, MockProjectPropertyLinkRemoter>(this.Source.Predecessor);
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
366
remoted.Add(this.
Export
<Project, MockProjectLinkRemoter>(p));