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