2 interfaces inheriting from ITemplateMetadata
Microsoft.TemplateEngine.Abstractions (2)
IScanTemplateInfo.cs (1)
9
public interface IScanTemplateInfo :
ITemplateMetadata
, ITemplateLocator, IValidationInfo
ITemplateInfo.cs (1)
10
public interface ITemplateInfo :
ITemplateMetadata
, IExtendedTemplateLocator
27 references to ITemplateMetadata
Microsoft.TemplateEngine.Abstractions (6)
TemplateFiltering\MatchInfo.cs (5)
50
/// Template name <see cref="
ITemplateMetadata
.Name"/>.
55
/// Template short names <see cref="
ITemplateMetadata
.ShortNameList"/>.
60
/// Template classifications <see cref="
ITemplateMetadata
.Classifications"/>.
75
/// Template baseline names <see cref="
ITemplateMetadata
.BaselineInfo"/>.
80
/// Template author <see cref="
ITemplateMetadata
.Author"/>.
TemplateFiltering\MatchKind.cs (1)
18
/// For example, <see cref="
ITemplateMetadata
.Name"/> contains the value of the filter but not equal to it.
Microsoft.TemplateEngine.Cli (3)
TemplateGroup.cs (1)
28
/// <exception cref="ArgumentException">when <paramref name="templates"/> is empty or don't have same <see cref="
ITemplateMetadata
.GroupIdentity"/> defined.</exception>
TemplateResolution\ParameterMatchInfo.cs (2)
22
/// The parameter name is not defined in <see cref="
ITemplateMetadata
.ParameterDefinitions"/>.
27
/// The parameter value is different format that is supported by <see cref="
ITemplateMetadata
.ParameterDefinitions"/> parameter.
Microsoft.TemplateEngine.Edge (3)
FilterableTemplateInfo.cs (2)
77
IReadOnlyList<Guid>
ITemplateMetadata
.PostActions => _source?.PostActions ?? [];
79
IReadOnlyList<TemplateConstraintInfo>
ITemplateMetadata
.Constraints => _source?.Constraints ?? [];
ValidationUtils.cs (1)
103
private static string GetTemplateDisplayName(
ITemplateMetadata
template)
Microsoft.TemplateEngine.Utils (9)
WellKnownSearchFilters.cs (9)
30
/// - if <paramref name="name"/> is equal to <see cref="
ITemplateMetadata
.Name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Name"/> with <see cref="MatchKind.Exact"/>;<br/>
31
/// - if <paramref name="name"/> is equal to one of the short names in <see cref="
ITemplateMetadata
.ShortNameList"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.ShortName"/> with <see cref="MatchKind.Exact"/>;<br/>
32
/// - if <see cref="
ITemplateMetadata
.Name"/> contains <paramref name="name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Name"/> with <see cref="MatchKind.Partial"/>;<br/>
33
/// - if one of the short names in <see cref="
ITemplateMetadata
.ShortNameList"/> contains <paramref name="name"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.ShortName"/> with <see cref="MatchKind.Partial"/>;<br/>
112
/// - if <paramref name="classification"/> is equal to any entry from <see cref="
ITemplateMetadata
.Classifications"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Classification"/> with <see cref="MatchKind.Exact"/>;<br/>
162
/// - if <paramref name="baselineName"/> is equal to key from <see cref="
ITemplateMetadata
.BaselineInfo"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Baseline"/> with <see cref="MatchKind.Exact"/>;<br/>
189
/// - if <see cref="
ITemplateMetadata
.Author"/> is null or empty, adds match disposition <see cref="MatchInfo.BuiltIn.Author"/> with <see cref="MatchKind.Mismatch"/>;<br/>
190
/// - if <paramref name="author"/> is equal to <see cref="
ITemplateMetadata
.Author"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Author"/> with <see cref="MatchKind.Exact"/>;<br/>
191
/// - if <see cref="
ITemplateMetadata
.Author"/> contains <paramref name="author"/> (case insensitive), adds match disposition <see cref="MatchInfo.BuiltIn.Author"/> with <see cref="MatchKind.Partial"/>;<br/>
Microsoft.TemplateSearch.Common (6)
Abstractions\TemplateSearchData.cs (5)
50
bool
ITemplateMetadata
.PreferDefaultName => TemplateInfo.PreferDefaultName;
78
string?
ITemplateMetadata
.DefaultName => TemplateInfo.DefaultName;
99
IReadOnlyDictionary<string, IBaselineInfo>
ITemplateMetadata
.BaselineInfo => TemplateInfo.BaselineInfo;
104
IReadOnlyList<Guid>
ITemplateMetadata
.PostActions => TemplateInfo.PostActions;
106
IReadOnlyList<TemplateConstraintInfo>
ITemplateMetadata
.Constraints => TemplateInfo.Constraints;
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (1)
146
IReadOnlyList<TemplateConstraintInfo>
ITemplateMetadata
.Constraints => [];