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)
678
private class NestedMetadataTable :
IMetadataTable
, IItemTypeDefinition
Definition\ProjectItem.cs (1)
1094
private class BuiltInMetadataTable :
IMetadataTable
Definition\ProjectItemDefinition.cs (1)
29
public class ProjectItemDefinition : IKeyed,
IMetadataTable
, IItemDefinition<ProjectMetadata>, IProjectMetadataParent, IItemTypeDefinition
Evaluation\EvaluatorMetadataTable.cs (1)
16
internal class EvaluatorMetadataTable :
IMetadataTable
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
119
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
,
2478
private class BuiltInMetadataTable :
IMetadataTable
, IItemTypeDefinition
46 references to IMetadataTable
Microsoft.Build (45)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (5)
165
IMetadataTable
originalMetadataTable = bucket.Expander.Metadata;
689
private
IMetadataTable
_bucketTable;
695
private
IMetadataTable
_itemDefinitionTable;
708
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)
137
string escapedValue = (this as
IMetadataTable
).GetEscapedValue(name);
213
string
IMetadataTable
.GetEscapedValue(string name)
215
return ((
IMetadataTable
)this).GetEscapedValue(null, name);
224
string
IMetadataTable
.GetEscapedValue(string specifiedItemType, string name)
226
return ((
IMetadataTable
)this).GetEscapedValueIfPresent(specifiedItemType, name) ?? String.Empty;
235
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)
22
where I : class, IItem,
IMetadataTable
574
where I : class, IItem,
IMetadataTable
Evaluation\LazyItemEvaluator.cs (1)
28
where I : class, IItem<M>,
IMetadataTable
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (3)
102
public
IMetadataTable
GetMetadataTable()
105
? (
IMetadataTable
)OperationItem
149
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)
565
string
IMetadataTable
.GetEscapedValue(string name)
575
string
IMetadataTable
.GetEscapedValue(string itemType, string name)
577
string value = ((
IMetadataTable
)this).GetEscapedValueIfPresent(itemType, name);
587
string
IMetadataTable
.GetEscapedValueIfPresent(string itemType, string name)
2107
string metadataValue = ((
IMetadataTable
)_itemDefinitions[i]).GetEscapedValueIfPresent(itemType: null, metadataName);
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Expander_Tests.cs (1)
822
IMetadataTable
itemMetadata = new StringMetadataTable(itemMetadataTable);