17 references to ShortName
Microsoft.TemplateEngine.Cli (5)
TemplateResolution\CliFilters.cs (5)
23return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Mismatch); 29return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Exact); 32return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Mismatch); 66return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Exact); 79return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Partial);
Microsoft.TemplateEngine.Utils (12)
TemplateMatchInfoExtensions.cs (8)
46/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> or <see cref="MatchKind.Partial" /> match on <see cref="MatchInfo.BuiltIn.ShortName"/>. 50return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.ShortName && (x.Kind == MatchKind.Exact || x.Kind == MatchKind.Partial)); 54/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> match on <see cref="MatchInfo.BuiltIn.ShortName"/>. 58return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.ShortName && x.Kind == MatchKind.Exact); 62/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Partial" /> match on <see cref="MatchInfo.BuiltIn.ShortName"/>. 66return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.ShortName && x.Kind == MatchKind.Partial); 70/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Mismatch" /> on <see cref="MatchInfo.BuiltIn.ShortName"/>. 74return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.ShortName && x.Kind == MatchKind.Mismatch);
WellKnownSearchFilters.cs (4)
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/> 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/> 61return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Exact); 74return new MatchInfo(MatchInfo.BuiltIn.ShortName, name, MatchKind.Partial);