29 references to MockProjectMetadataLinkRemoter
Microsoft.Build.Engine.OM.UnitTests (29)
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemDefinitionLink.cs (9)
23
public ICollection<
MockProjectMetadataLinkRemoter
> Metadata => this.OwningCollection.ExportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.Metadata);
24
public
MockProjectMetadataLinkRemoter
GetMetadata(string name)
25
=> this.OwningCollection.Export<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.GetMetadata(name));
27
public
MockProjectMetadataLinkRemoter
SetMetadataValue(string name, string unevaluatedValue)
28
=> this.OwningCollection.Export<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.SetMetadataValue(name, unevaluatedValue));
48
=> this.Linker.ImportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.Metadata);
50
=> this.Linker.Import<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.GetMetadata(name));
53
=> this.Linker.Import<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.SetMetadataValue(name, unevaluatedValue));
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectItemLink.cs (12)
25
public ICollection<
MockProjectMetadataLinkRemoter
> MetadataCollection => this.OwningCollection.ExportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.Metadata);
26
public ICollection<
MockProjectMetadataLinkRemoter
> DirectMetadata => this.OwningCollection.ExportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.DirectMetadata);
28
public
MockProjectMetadataLinkRemoter
GetMetadata(string name)
29
=> this.OwningCollection.Export<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.GetMetadata(name));
31
public
MockProjectMetadataLinkRemoter
SetMetadataValue(string name, string unevaluatedValue, bool propagateMetadataToSiblingItems)
32
=> this.OwningCollection.Export<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.SetMetadataValue(name, unevaluatedValue, propagateMetadataToSiblingItems));
57
=> this.Linker.ImportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.MetadataCollection);
59
=> this.Linker.ImportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.DirectMetadata);
62
=> this.Linker.Import<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.GetMetadata(name));
65
=> this.Linker.Import<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.SetMetadataValue(name, unevaluatedValue, propagateMetadataToSiblingItems));
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (3)
61
public IList<
MockProjectMetadataLinkRemoter
> AllEvaluatedItemDefinitionMetadata
62
=> this.OwningCollection.ExportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.AllEvaluatedItemDefinitionMetadata);
161
=> this.Linker.ImportCollection<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.AllEvaluatedItemDefinitionMetadata);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectMetadataLink.cs (5)
43
public
MockProjectMetadataLinkRemoter
Predecessor => this.OwningCollection.Export<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Source.Predecessor);
48
public MockProjectMetadataLink(
MockProjectMetadataLinkRemoter
proxy, IImportHolder holder)
56
public
MockProjectMetadataLinkRemoter
Proxy { get; }
82
public override ProjectMetadata Predecessor => this.Linker.Import<ProjectMetadata,
MockProjectMetadataLinkRemoter
>(this.Proxy.Predecessor);