20 references to Name
Microsoft.TemplateEngine.Cli (4)
TemplateResolution\CliFilters.cs (4)
48return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Partial); 55return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Exact); 74return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Partial); 82return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Mismatch);
Microsoft.TemplateEngine.Utils (16)
TemplateMatchInfoExtensions.cs (8)
14/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> or <see cref="MatchKind.Partial" /> match on <see cref="MatchInfo.BuiltIn.Name"/>. 18return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.Name && (x.Kind == MatchKind.Exact || x.Kind == MatchKind.Partial)); 22/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> match on <see cref="MatchInfo.BuiltIn.Name"/>. 26return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.Name && x.Kind == MatchKind.Exact); 30/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Partial" /> match on <see cref="MatchInfo.BuiltIn.Name"/>. 34return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.Name && x.Kind == MatchKind.Partial); 38/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Mismatch" /> on <see cref="MatchInfo.BuiltIn.Name"/>. 42return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.Name && x.Kind == MatchKind.Mismatch);
WellKnownSearchFilters.cs (8)
29/// - if <paramref name="name"/> is null or empty, adds match disposition <see cref="MatchInfo.BuiltIn.Name"/> with <see cref="MatchKind.Partial"/>;<br/> 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/> 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/> 34/// - adds match disposition <see cref="MatchInfo.BuiltIn.Name"/> with <see cref="MatchKind.Mismatch"/> otherwise.<br/> 43return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Partial); 50return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Exact); 69return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Partial); 77return new MatchInfo(MatchInfo.BuiltIn.Name, name, MatchKind.Mismatch);