19 references to Mode
Microsoft.AspNetCore.Mvc.TagHelpers (19)
LinkTagHelper.cs (19)
52private static readonly Func<Mode, Mode, int> Compare = (a, b) => a - b;
54private static readonly ModeAttributes<Mode>[] ModeDetails = new[] {
56new ModeAttributes<Mode>(Mode.AppendVersion, new[] { AppendVersionAttributeName }),
58new ModeAttributes<Mode>(Mode.GlobbedHref, new [] { HrefIncludeAttributeName }),
60new ModeAttributes<Mode>(Mode.GlobbedHref, new [] { HrefIncludeAttributeName, HrefExcludeAttributeName }),
62new ModeAttributes<Mode>(
63Mode.Fallback,
72new ModeAttributes<Mode>(
73Mode.Fallback,
82new ModeAttributes<Mode>(
83Mode.Fallback,
267if (!AttributeMatcher.TryDetermineMode(context, ModeDetails, Compare, out var mode))
292if (mode == Mode.GlobbedHref || mode == Mode.Fallback && !string.IsNullOrEmpty(HrefInclude))
303if (mode == Mode.Fallback && HasStyleSheetLinkType(output.Attributes))