2 interfaces inheriting from IMetadataTable
Microsoft.Build (2)
Evaluation\IItemDefinition.cs (1)
14
internal interface IItemDefinition<M> :
IMetadataTable
Evaluation\IProjectMetadataParent.cs (1)
12
internal interface IProjectMetadataParent :
IMetadataTable
9 implementations of IMetadataTable
Microsoft.Build (9)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (1)
669
private class NestedMetadataTable :
IMetadataTable
, IItemTypeDefinition
Definition\ProjectItem.cs (1)
1094
private class BuiltInMetadataTable :
IMetadataTable
Definition\ProjectItemDefinition.cs (1)
28
public class ProjectItemDefinition : IKeyed,
IMetadataTable
, IItemDefinition<ProjectMetadata>, IProjectMetadataParent, IItemTypeDefinition
Evaluation\EvaluatorMetadataTable.cs (1)
16
internal class EvaluatorMetadataTable :
IMetadataTable
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
118
private class ItemOperationMetadataTable :
IMetadataTable
Evaluation\StringMetadataTable.cs (1)
15
internal class StringMetadataTable :
IMetadataTable
Instance\ProjectItemDefinitionInstance.cs (1)
26
public class ProjectItemDefinitionInstance : IKeyed,
IMetadataTable
, IItemDefinition<ProjectMetadataInstance>, ITranslatable, IItemTypeDefinition
Instance\ProjectItemInstance.cs (2)
39
IMetadataTable
,
2461
private class BuiltInMetadataTable :
IMetadataTable
, IItemTypeDefinition
46 references to IMetadataTable
Microsoft.Build (45)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (5)
163
IMetadataTable
originalMetadataTable = bucket.Expander.Metadata;
680
private
IMetadataTable
_bucketTable;
686
private
IMetadataTable
_itemDefinitionTable;
699
internal NestedMetadataTable(string itemType,
IMetadataTable
bucketTable,
IMetadataTable
itemDefinitionTable)
Definition\Project.cs (4)
1783
internal string ExpandMetadataValueBestEffortLeaveEscaped(
IMetadataTable
metadataTable, string unevaluatedValue, ElementLocation metadataLocation)
3575
public string ExpandMetadataValueBestEffortLeaveEscaped(
IMetadataTable
metadataTable, string unevaluatedValue, ElementLocation metadataLocation)
3995
string ExpandMetadataValueBestEffortLeaveEscaped(
IMetadataTable
metadataTable, string unevaluatedValue, ElementLocation metadataLocation);
4020
public string ExpandMetadataValueBestEffortLeaveEscaped(
IMetadataTable
metadataTable, string unevaluatedValue, ElementLocation metadataLocation) { throw new NotImplementedException(); }
Definition\ProjectItem.cs (5)
736
string
IMetadataTable
.GetEscapedValue(string name)
738
string value = ((
IMetadataTable
)this).GetEscapedValue(null, name);
749
string
IMetadataTable
.GetEscapedValue(string itemType, string name)
751
string value = ((
IMetadataTable
)this).GetEscapedValueIfPresent(itemType, name);
762
string
IMetadataTable
.GetEscapedValueIfPresent(string itemType, string name)
Definition\ProjectItemDefinition.cs (6)
136
string escapedValue = (this as
IMetadataTable
).GetEscapedValue(name);
212
string
IMetadataTable
.GetEscapedValue(string name)
214
return ((
IMetadataTable
)this).GetEscapedValue(null, name);
223
string
IMetadataTable
.GetEscapedValue(string specifiedItemType, string name)
225
return ((
IMetadataTable
)this).GetEscapedValueIfPresent(specifiedItemType, name) ?? String.Empty;
234
string
IMetadataTable
.GetEscapedValueIfPresent(string specifiedItemType, string name)
Evaluation\Evaluator.cs (1)
57
where I : class, IItem<M>,
IMetadataTable
Evaluation\Expander.cs (8)
303
private
IMetadataTable
_metadata;
384
internal Expander(IPropertyProvider<P> properties, IItemProvider<I> items,
IMetadataTable
metadata, IFileSystem fileSystem, LoggingContext loggingContext)
399
internal Expander(IPropertyProvider<P> properties, IItemProvider<I> items,
IMetadataTable
metadata, IFileSystem fileSystem)
408
IMetadataTable
metadata,
431
internal
IMetadataTable
Metadata
969
internal static string ExpandMetadataLeaveEscaped(string expression,
IMetadataTable
metadata, ExpanderOptions options, IElementLocation elementLocation, LoggingContext loggingContext = null)
1123
private
IMetadataTable
_metadata;
1138
IMetadataTable
metadata,
Evaluation\ItemSpec.cs (2)
21
where I : class, IItem,
IMetadataTable
573
where I : class, IItem,
IMetadataTable
Evaluation\LazyItemEvaluator.cs (1)
28
where I : class, IItem<M>,
IMetadataTable
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (3)
101
public
IMetadataTable
GetMetadataTable()
104
? (
IMetadataTable
)OperationItem
148
private string RouteCall(string itemType, string name, Func<
IMetadataTable
, string, string, string> getEscapedValueFunc)
Instance\ProjectItemDefinitionInstance.cs (5)
162
string
IMetadataTable
.GetEscapedValue(string name)
164
return ((
IMetadataTable
)this).GetEscapedValue(null, name);
173
string
IMetadataTable
.GetEscapedValue(string specifiedItemType, string name)
175
return ((
IMetadataTable
)this).GetEscapedValueIfPresent(specifiedItemType, name) ?? String.Empty;
184
string
IMetadataTable
.GetEscapedValueIfPresent(string specifiedItemType, string name)
Instance\ProjectItemInstance.cs (5)
563
string
IMetadataTable
.GetEscapedValue(string name)
573
string
IMetadataTable
.GetEscapedValue(string itemType, string name)
575
string value = ((
IMetadataTable
)this).GetEscapedValueIfPresent(itemType, name);
585
string
IMetadataTable
.GetEscapedValueIfPresent(string itemType, string name)
2090
string metadataValue = ((
IMetadataTable
)_itemDefinitions[i]).GetEscapedValueIfPresent(itemType: null, metadataName);
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Expander_Tests.cs (1)
783
IMetadataTable
itemMetadata = new StringMetadataTable(itemMetadataTable);