3 writes to Protocol
Microsoft.AspNetCore.Mvc.Core (2)
Routing\UrlHelperBase.cs (1)
60Protocol = ActionContext.HttpContext.Request.Scheme,
UrlHelperExtensions.cs (1)
343Protocol = protocol,
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\UrlHelperTestBase.cs (1)
582Protocol = "ftp"
16 references to Protocol
Microsoft.AspNetCore.Mvc.Core (2)
Routing\EndpointRoutingUrlHelper.cs (1)
86return GenerateUrl(routeContext.Protocol, routeContext.Host, path);
Routing\UrlHelper.cs (1)
70return GenerateUrl(routeContext.Protocol, routeContext.Host, virtualPathData, routeContext.Fragment);
Microsoft.AspNetCore.Mvc.Core.Test (10)
RedirectToPageResultTest.cs (2)
128Assert.Equal("ftp", context.Protocol); 182Assert.Equal("ftp", context.Protocol);
Routing\UrlHelperExtensionsTest.cs (8)
48Assert.Null(actual.Protocol); 101Assert.Null(actual.Protocol); 132Assert.Equal("https", actual.Protocol); 164Assert.Equal("https", actual.Protocol); 201Assert.Equal("https", actual.Protocol); 751Assert.Equal(expectedProtocol, actual.Protocol); 799Assert.Equal(expectedProtocol, actual.Protocol); 847Assert.Equal(expectedProtocol, actual.Protocol);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
FormActionTagHelperTest.cs (1)
280Assert.Null(param.Protocol);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
RemoteAttributeTest.cs (1)
537Assert.Null(routeContext.Protocol);
Rendering\HtmlHelperFormTest.cs (1)
284context.Protocol == null &&
Rendering\HtmlHelperLinkGenerationTest.cs (1)
136context.Protocol,