1 write to Proxy
Microsoft.Build.Engine.OM.UnitTests (1)
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
122
this.
Proxy
= proxy;
45 references to Proxy
Microsoft.Build.Engine.OM.UnitTests (45)
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (45)
128
object ILinkMock.Remoter => this.
Proxy
;
131
public override ProjectRootElement Xml => (ProjectRootElement)this.
Proxy
.Xml.Import(this.Linker);
133
public override bool ThrowInsteadOfSplittingItemElement { get => this.
Proxy
.ThrowInsteadOfSplittingItemElement; set => this.
Proxy
.ThrowInsteadOfSplittingItemElement = value; }
135
public override bool IsDirty => this.
Proxy
.IsDirty;
137
public override IDictionary<string, string> GlobalProperties => this.
Proxy
.GlobalProperties;
139
public override ICollection<string> ItemTypes => this.
Proxy
.ItemTypes;
141
public override ICollection<ProjectProperty> Properties => this.Linker.ImportCollection<ProjectProperty, MockProjectPropertyLinkRemoter>(this.
Proxy
.Properties);
143
public override IDictionary<string, List<string>> ConditionedProperties => this.
Proxy
.ConditionedProperties;
146
=> this.Linker.ImportDictionary<string, ProjectItemDefinition, MockProjectItemDefinitionLinkRemoter>(this.
Proxy
.ItemDefinitions);
148
public override ICollection<ProjectItem> Items => this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.Items);
150
public override ICollection<ProjectItem> ItemsIgnoringCondition => this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.ItemsIgnoringCondition);
153
=> this.
Proxy
.Imports.ConvertCollection<ResolvedImport, RemotedResolvedImport>((a) => a.Import(this.Linker));
156
=> this.
Proxy
.ImportsIncludingDuplicates.ConvertCollection<ResolvedImport, RemotedResolvedImport>((a) => a.Import(this.Linker));
159
=> this.Linker.ImportCollection<ProjectProperty, MockProjectPropertyLinkRemoter>(this.
Proxy
.AllEvaluatedProperties);
161
=> this.Linker.ImportCollection<ProjectMetadata, MockProjectMetadataLinkRemoter>(this.
Proxy
.AllEvaluatedItemDefinitionMetadata);
164
=> this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.AllEvaluatedItems);
166
public override string ToolsVersion => this.
Proxy
.ToolsVersion;
168
public override string SubToolsetVersion => this.
Proxy
.SubToolsetVersion;
170
public override bool SkipEvaluation { get => this.
Proxy
.SkipEvaluation; set => this.
Proxy
.SkipEvaluation = value; }
171
public override bool DisableMarkDirty { get => this.
Proxy
.DisableMarkDirty; set => this.
Proxy
.DisableMarkDirty = value; }
172
public override bool IsBuildEnabled { get => this.
Proxy
.IsBuildEnabled; set => this.
Proxy
.IsBuildEnabled = value; }
174
public override int LastEvaluationId => this.
Proxy
.LastEvaluationId;
177
=> this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.AddItem(itemType, unevaluatedInclude, metadata));
180
=> this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.AddItemFast(itemType, unevaluatedInclude, metadata));
189
public override string ExpandString(string unexpandedValue) => this.
Proxy
.ExpandString(unexpandedValue);
218
=> this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.GetItems(itemType));
220
=> this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.GetItemsByEvaluatedInclude(evaluatedInclude));
223
=> this.Linker.ImportCollection<ProjectItem, MockProjectItemLinkRemoter>(this.
Proxy
.GetItemsIgnoringCondition(itemType));
226
=> this.Linker.ImportCollection<ProjectElement>(this.
Proxy
.GetLogicalProject());
228
public override ProjectProperty GetProperty(string name) => this.Linker.Import<ProjectProperty, MockProjectPropertyLinkRemoter>(this.
Proxy
.GetProperty(name));
229
public override string GetPropertyValue(string name) => this.
Proxy
.GetPropertyValue(name);
230
public override void MarkDirty() => this.
Proxy
.MarkDirty();
231
public override void ReevaluateIfNecessary(EvaluationContext evaluationContext) => this.
Proxy
.ReevaluateIfNecessary(evaluationContext);
232
public override bool RemoveGlobalProperty(string name) => this.
Proxy
.RemoveGlobalProperty(name);
235
=> this.
Proxy
.RemoveItem(this.Linker.Export<ProjectItem, MockProjectItemLinkRemoter>(item));
238
=> this.
Proxy
.RemoveItems(this.Linker.ExportCollection<ProjectItem, MockProjectItemLinkRemoter>(items));
240
public override bool RemoveProperty(ProjectProperty property) => this.
Proxy
.RemoveProperty(this.Linker.Export<ProjectProperty, MockProjectPropertyLinkRemoter>(property));
241
public override void SaveLogicalProject(TextWriter writer) => this.
Proxy
.SaveLogicalProject(writer);
243
public override bool SetGlobalProperty(string name, string escapedValue) => this.
Proxy
.SetGlobalProperty(name, escapedValue);
245
public override ProjectProperty SetProperty(string name, string unevaluatedValue) => this.Linker.Import<ProjectProperty, MockProjectPropertyLinkRemoter>(this.
Proxy
.SetProperty(name, unevaluatedValue));
247
public override void Unload() => this.
Proxy
.Unload();