20 references to MockProjectPropertyLinkRemoter
Microsoft.Build.Engine.OM.UnitTests (20)
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (15)
40
public ICollection<
MockProjectPropertyLinkRemoter
> Properties
41
=> this.OwningCollection.ExportCollection<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Source.Properties);
57
public ICollection<
MockProjectPropertyLinkRemoter
> AllEvaluatedProperties
58
=> this.OwningCollection.ExportCollection<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Source.AllEvaluatedProperties);
91
public
MockProjectPropertyLinkRemoter
GetProperty(string name) => this.OwningCollection.Export<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Source.GetProperty(name));
102
public bool RemoveProperty(
MockProjectPropertyLinkRemoter
propertyRemoter)
103
=> this.Source.RemoveProperty(this.OwningCollection.Import<ProjectProperty,
MockProjectPropertyLinkRemoter
>(propertyRemoter));
112
public
MockProjectPropertyLinkRemoter
SetProperty(string name, string unevaluatedValue)
113
=> this.OwningCollection.Export<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Source.SetProperty(name, unevaluatedValue));
141
public override ICollection<ProjectProperty> Properties => this.Linker.ImportCollection<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Proxy.Properties);
159
=> this.Linker.ImportCollection<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Proxy.AllEvaluatedProperties);
228
public override ProjectProperty GetProperty(string name) => this.Linker.Import<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Proxy.GetProperty(name));
240
public override bool RemoveProperty(ProjectProperty property) => this.Proxy.RemoveProperty(this.Linker.Export<ProjectProperty,
MockProjectPropertyLinkRemoter
>(property));
245
public override ProjectProperty SetProperty(string name, string unevaluatedValue) => this.Linker.Import<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Proxy.SetProperty(name, unevaluatedValue));
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectPropertyLink.cs (5)
29
public
MockProjectPropertyLinkRemoter
Predecessor => this.OwningCollection.Export<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Source.Predecessor);
35
public MockProjectPropertyLink(
MockProjectPropertyLinkRemoter
proxy, IImportHolder holder)
43
public
MockProjectPropertyLinkRemoter
Proxy { get; }
55
public override ProjectProperty Predecessor => this.Linker.Import<ProjectProperty,
MockProjectPropertyLinkRemoter
>(this.Proxy.Predecessor);