67 references to Empty
Microsoft.AspNetCore.Http.Abstractions (4)
HttpRequest.cs (1)
57/// The value may be <see cref="PathString.Empty"/> if <see cref="PathBase"/> contains the full path,
PathString.cs (3)
294remaining = Empty; 345remaining = Empty; 346matched = Empty;
Microsoft.AspNetCore.Http.Abstractions.Tests (8)
PathStringTests.cs (8)
23Assert.Equal(default(PathString), PathString.Empty); 24Assert.Equal(default(PathString), PathString.Empty); 25Assert.True(PathString.Empty == default(PathString)); 26Assert.True(default(PathString) == PathString.Empty); 27Assert.True(PathString.Empty.Equals(default(PathString))); 28Assert.True(default(PathString).Equals(PathString.Empty)); 48Assert.NotEqual(pathString, PathString.Empty); 54Assert.Equal(PathString.Empty.GetHashCode(), default(PathString).GetHashCode());
Microsoft.AspNetCore.HttpOverrides.Tests (3)
ForwardedHeadersMiddlewareTest.cs (3)
962Assert.Equal(PathString.Empty, context.Request.PathBase); 1238Assert.Equal(PathString.Empty, context.Request.PathBase); 1285Assert.Equal(PathString.Empty, context.Request.PathBase);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (25)
GlobbingUrlBuilderTest.cs (9)
22var requestPathBase = PathString.Empty; 38var requestPathBase = PathString.Empty; 210var requestPathBase = PathString.Empty; 252var requestPathBase = PathString.Empty; 282var requestPathBase = PathString.Empty; 340var requestPathBase = PathString.Empty; 364var requestPathBase = PathString.Empty; 392var requestPathBase = PathString.Empty; 418var requestPathBase = PathString.Empty;
LinkTagHelperTest.cs (10)
304PathString.Empty); 392PathString.Empty); 585PathString.Empty); 626PathString.Empty); 680PathString.Empty); 866PathString.Empty); 920PathString.Empty); 990PathString.Empty); 1033PathString.Empty); 1075PathString.Empty);
ScriptTagHelperTest.cs (6)
281PathString.Empty); 368PathString.Empty); 545PathString.Empty); 598PathString.Empty); 969PathString.Empty); 1007PathString.Empty);
Microsoft.AspNetCore.Rewrite (2)
IISUrlRewrite\IISUrlRewriteRule.cs (1)
44if (path == PathString.Empty)
RewriteRule.cs (1)
31if (path == PathString.Empty)
Microsoft.AspNetCore.Routing (1)
UriBuildingContext.cs (1)
262pathString = PathString.Empty;
Microsoft.AspNetCore.StaticFiles (1)
Infrastructure\SharedOptions.cs (1)
21RequestPath = PathString.Empty;
Microsoft.AspNetCore.StaticFiles.Tests (1)
StaticFileContextTest.cs (1)
21var pathString = PathString.Empty;
Microsoft.AspNetCore.TestHost (4)
ClientHandler.cs (1)
181req.PathBase = PathString.Empty;
TestServer.cs (2)
146private PathString PathBase => BaseAddress == null ? PathString.Empty : PathString.FromUriComponent(BaseAddress); 189var pathBase = BaseAddress == null ? PathString.Empty : PathString.FromUriComponent(BaseAddress);
WebSocketClient.cs (1)
72request.PathBase = PathString.Empty;
Microsoft.AspNetCore.TestHost.Tests (18)
ClientHandlerTests.cs (18)
202var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 265var handler = new ClientHandler(PathString.Empty, new InspectingApplication(features => 280var handler = new ClientHandler(PathString.Empty, new InspectingApplication(features => 300var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 338PathString.Empty, 351var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 373var handler = new ClientHandler(PathString.Empty, new DummyApplication(context => 387var handler = new ClientHandler(PathString.Empty, new DummyApplication(context => 406var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 425var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 444var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 466var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 489var handler = new ClientHandler(PathString.Empty, new DummyApplication(context => 511var handler = new ClientHandler(PathString.Empty, new DummyApplication(context => 524var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context => 543var handler = new ClientHandler(PathString.Empty, new DummyApplication(context => 559var handler = new ClientHandler(PathString.Empty, new DummyApplication(context => 575var handler = new ClientHandler(PathString.Empty, new DummyApplication(async context =>