19 writes to Location
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 };
10 references to Location
Microsoft.TemplateEngine.Edge (10)
Settings\FilteredTemplateInfo.cs (6)
27
&& MatchDisposition.All(x => x.
Location
!= MatchLocation.Context
28
|| (x.
Location
== MatchLocation.Context && x.Kind == MatchKind.Exact));
31
public bool HasParameterMismatch => MatchDisposition.Any(x => x.
Location
== MatchLocation.OtherParameter && x.Kind != MatchKind.Exact);
33
public bool IsParameterMatch => !HasParameterMismatch && MatchDisposition.Any(x => x.
Location
== MatchLocation.OtherParameter);
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 (1)
52
if (newDisposition.
Location
== MatchLocation.DefaultLanguage)
Template\OrdinalIgnoreCaseMatchInfoComparer.cs (3)
12
&& x.
Location
== y.
Location
19
return new { a = obj.InputParameterName?.ToLowerInvariant(), b = obj.ParameterValue?.ToLowerInvariant(), obj.Kind, obj.
Location
}.GetHashCode();