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