4 implementations of IEvaluatorData
Microsoft.Build (4)
Definition\Project.cs (1)
4009
internal class Data : IItemProvider<ProjectItem>, IPropertyProvider<ProjectProperty>,
IEvaluatorData
<ProjectProperty, ProjectItem, ProjectMetadata, ProjectItemDefinition>
Evaluation\LazyItemEvaluator.EvaluatorData.cs (1)
22
private class EvaluatorData :
IEvaluatorData
<P, I, M, D>
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (1)
27
internal class PropertyTrackingEvaluatorDataWrapper<P, I, M, D> :
IEvaluatorData
<P, I, M, D>
Instance\ProjectInstance.cs (1)
77
public class ProjectInstance : IPropertyProvider<ProjectPropertyInstance>, IItemProvider<ProjectItemInstance>,
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>, ITranslatable
63 references to IEvaluatorData
Microsoft.Build (56)
Definition\Project.cs (2)
4047
IEnumerable<ProjectItemDefinition>
IEvaluatorData
<ProjectProperty, ProjectItem, ProjectMetadata, ProjectItemDefinition>.ItemDefinitionsEnumerable => ItemDefinitions.Values;
4514
string
IEvaluatorData
<ProjectProperty, ProjectItem, ProjectMetadata, ProjectItemDefinition>.ExpandString(string unexpandedValue)
Evaluation\Evaluator.cs (3)
76
private readonly
IEvaluatorData
<P, I, M, D> _data;
198
IEvaluatorData
<P, I, M, D> data,
298
IEvaluatorData
<P, I, M, D> data,
Evaluation\LazyItemEvaluator.cs (3)
32
private readonly
IEvaluatorData
<P, I, M, D> _outerEvaluatorData;
34
private readonly
IEvaluatorData
<P, I, M, D> _evaluatorData;
52
public LazyItemEvaluator(
IEvaluatorData
<P, I, M, D> data, IItemFactory<I, I> itemFactory, LoggingContext loggingContext, EvaluationProfiler evaluationProfiler, EvaluationContext evaluationContext)
Evaluation\LazyItemEvaluator.EvaluatorData.cs (2)
24
private readonly
IEvaluatorData
<P, I, M, D> _wrappedData;
27
public EvaluatorData(
IEvaluatorData
<P, I, M, D> wrappedData, IReadOnlyDictionary<string, LazyItemList> itemsByType)
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (4)
21
/// Wraps an existing <see cref="
IEvaluatorData
{P,I,M,D}"/> allowing the property usage to be tracked.
33
private readonly
IEvaluatorData
<P, I, M, D> _wrapped;
41
/// <param name="dataToWrap">The underlying <see cref="
IEvaluatorData
{P,I,M,D}"/> to wrap for property tracking.</param>
44
public PropertyTrackingEvaluatorDataWrapper(
IEvaluatorData
<P, I, M, D> dataToWrap, EvaluationLoggingContext evaluationLoggingContext, int settingValue)
Instance\ProjectInstance.cs (42)
560
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance> thisAsIEvaluatorData = this;
742
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance,
744
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance,
746
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance,
748
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance,
1114
bool
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.CanEvaluateElementsWithFalseConditions => false;
1281
TaskRegistry
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.TaskRegistry
1298
Toolset
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.Toolset
1309
string
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.SubToolsetVersion
1323
string
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.ExplicitToolsVersion
1333
PropertyDictionary<ProjectPropertyInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.GlobalPropertiesDictionary
1340
PropertyDictionary<ProjectPropertyInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.EnvironmentVariablePropertiesDictionary
1348
ISet<string>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.GlobalPropertiesToTreatAsLocal
1364
PropertyDictionary<ProjectPropertyInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.Properties
1374
IEnumerable<ProjectItemDefinitionInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.ItemDefinitionsEnumerable
1384
IItemDictionary<ProjectItemInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.Items
1395
List<string>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.InitialTargets
1413
List<string>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.DefaultTargets
1431
IDictionary<string, List<TargetSpecification>>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.BeforeTargets
1441
IDictionary<string, List<TargetSpecification>>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AfterTargets
1454
Dictionary<string, List<string>>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.ConditionedProperties
1468
bool
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.ShouldEvaluateForDesignTime
1685
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.
1695
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.FinishEvaluation()
1705
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddItem(ProjectItemInstance item)
1716
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddItemIgnoringCondition(ProjectItemInstance item)
1725
IItemDefinition<ProjectMetadataInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddItemDefinition(string itemType)
1743
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddToAllEvaluatedPropertiesList(ProjectPropertyInstance property)
1757
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddToAllEvaluatedItemDefinitionMetadataList(ProjectMetadataInstance itemDefinitionMetadatum)
1771
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddToAllEvaluatedItemsList(ProjectItemInstance item)
1779
IItemDefinition<ProjectMetadataInstance>
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.GetItemDefinition(string itemType)
1794
ProjectPropertyInstance
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.SetProperty(string name, string evaluatedValueEscaped, bool isGlobalProperty, bool mayBeReserved, LoggingContext loggingContext, bool isEnvironmentVariable)
1807
ProjectPropertyInstance
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.SetProperty(ProjectPropertyElement propertyElement, string evaluatedValueEscaped, LoggingContext loggingContext)
1818
ProjectTargetInstance
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.GetTarget(string targetName)
1831
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AddTarget(ProjectTargetInstance target)
1839
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.RecordImport(
1846
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>)this).RecordImportWithDuplicates(importElement, import, versionEvaluated);
1852
void
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.RecordImportWithDuplicates(ProjectImportElement importElement, ProjectRootElement import, int versionEvaluated)
2743
if (((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>)this).BeforeTargets.TryGetValue(target, out beforeTargetsForTarget))
2760
if (((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>)this).AfterTargets.TryGetValue(target, out afterTargetsForTarget))
3224
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>)this).BeforeTargets = CreateCloneDictionary(beforeTargets, StringComparer.OrdinalIgnoreCase);
3225
((
IEvaluatorData
<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>)this).AfterTargets = CreateCloneDictionary(afterTargets, StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Engine.UnitTests (7)
TestComparers\ProjectInstanceModelTestComparers.cs (7)
13
Microsoft.Build.Evaluation.
IEvaluatorData
<Microsoft.Build.Execution.ProjectPropertyInstance, Microsoft.Build.Execution.ProjectItemInstance,
30
Assert.Equal(((
EvaluatorData
)x).GlobalPropertiesToTreatAsLocal, ((
EvaluatorData
)y).GlobalPropertiesToTreatAsLocal);
42
Helpers.AssertDictionariesEqual(((
EvaluatorData
)x).BeforeTargets, ((
EvaluatorData
)y).BeforeTargets, AssertTargetSpecificationPairsEqual);
43
Helpers.AssertDictionariesEqual(((
EvaluatorData
)x).AfterTargets, ((
EvaluatorData
)y).AfterTargets, AssertTargetSpecificationPairsEqual);