9 references to Classification
Microsoft.TemplateEngine.Cli (1)
Commands\FilterOptionDefinition.cs (1)
41matchInfoName: MatchInfo.BuiltIn.Classification);
Microsoft.TemplateEngine.Utils (8)
TemplateMatchInfoExtensions.cs (4)
94/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Exact" /> match on <see cref="MatchInfo.BuiltIn.Classification"/>. 98return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.Classification && x.Kind == MatchKind.Exact); 102/// Returns true when <paramref name="templateMatchInfo"/> has <see cref="MatchKind.Mismatch" /> on <see cref="MatchInfo.BuiltIn.Classification"/>. 106return templateMatchInfo.MatchDisposition.Any(x => x.Name == MatchInfo.BuiltIn.Classification && x.Kind == MatchKind.Mismatch);
WellKnownSearchFilters.cs (4)
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/> 113/// - adds match disposition <see cref="MatchInfo.BuiltIn.Classification"/> with <see cref="MatchKind.Mismatch"/> otherwise.<br/> 126return new MatchInfo(MatchInfo.BuiltIn.Classification, classification, MatchKind.Exact); 128return new MatchInfo(MatchInfo.BuiltIn.Classification, classification, MatchKind.Mismatch);