19 writes to Kind
Microsoft.TemplateEngine.Edge (19)
Template\WellKnownSearchFilters.cs (19)
18return new MatchInfo { Location = MatchLocation.Name, Kind = MatchKind.Partial }; 25return new MatchInfo { Location = MatchLocation.Name, Kind = MatchKind.Exact }; 36return new MatchInfo { Location = MatchLocation.ShortName, Kind = MatchKind.Exact }; 44return new MatchInfo { Location = MatchLocation.Name, Kind = MatchKind.Partial }; 49return new MatchInfo { Location = MatchLocation.ShortName, Kind = MatchKind.Partial }; 52return new MatchInfo { Location = MatchLocation.Name, Kind = MatchKind.Mismatch }; 69return new MatchInfo { Location = MatchLocation.Context, Kind = MatchKind.Exact }; 73return new MatchInfo { Location = MatchLocation.Context, Kind = MatchKind.Mismatch }; 96return new MatchInfo { Location = MatchLocation.Classification, Kind = MatchKind.Exact }; 98return new MatchInfo { Location = MatchLocation.Classification, Kind = MatchKind.Mismatch }; 116return new MatchInfo { Location = MatchLocation.Language, Kind = MatchKind.Exact }; 120return new MatchInfo { Location = MatchLocation.Language, Kind = MatchKind.Mismatch }; 136return new MatchInfo { Location = MatchLocation.Baseline, Kind = MatchKind.Exact }; 140return new MatchInfo { Location = MatchLocation.Baseline, Kind = MatchKind.Mismatch }; 178return new MatchInfo { Location = MatchLocation.Classification, Kind = allParts ? MatchKind.Exact : MatchKind.Partial }; 202return new MatchInfo { Location = MatchLocation.Author, Kind = MatchKind.Mismatch }; 209return new MatchInfo { Location = MatchLocation.Author, Kind = MatchKind.Exact }; 214return new MatchInfo { Location = MatchLocation.Author, Kind = MatchKind.Partial }; 217return new MatchInfo { Location = MatchLocation.Author, Kind = MatchKind.Mismatch };
11 references to Kind
Microsoft.TemplateEngine.Edge (11)
Settings\FilteredTemplateInfo.cs (6)
22public bool IsMatch => MatchDisposition.Count > 0 && !MatchDisposition.Any(x => x.Kind == MatchKind.Mismatch); 26public bool IsPartialMatch => MatchDisposition.Any(x => x.Kind != MatchKind.Mismatch) 28|| (x.Location == MatchLocation.Context && x.Kind == MatchKind.Exact)); 31public bool HasParameterMismatch => MatchDisposition.Any(x => x.Location == MatchLocation.OtherParameter && x.Kind != MatchKind.Exact); 35public bool HasInvalidParameterValue => MatchDisposition.Any(x => x.Location == MatchLocation.OtherParameter && x.Kind == MatchKind.InvalidParameterValue); 37public bool HasAmbiguousParameterMatch => !HasInvalidParameterValue && MatchDisposition.Any(x => x.Location == MatchLocation.OtherParameter && x.Kind == MatchKind.AmbiguousParameterValue);
Settings\TemplateMatchInfo.cs (2)
46public bool IsMatch => MatchDisposition.Count > 0 && MatchDisposition.All(x => x.Kind != MatchKind.Mismatch); 48public bool IsPartialMatch => MatchDisposition.Any(x => x.Kind != MatchKind.Mismatch);
Template\OrdinalIgnoreCaseMatchInfoComparer.cs (3)
11return x.Kind == y.Kind 19return new { a = obj.InputParameterName?.ToLowerInvariant(), b = obj.ParameterValue?.ToLowerInvariant(), obj.Kind, obj.Location }.GetHashCode();