Implemented interface member:
property
Properties
Microsoft.AspNetCore.Builder.IApplicationBuilder.Properties
11 references to Properties
Microsoft.AspNetCore (1)
WebApplication.cs (1)
80internal IDictionary<string, object?> Properties => ApplicationBuilder.Properties;
Microsoft.AspNetCore.Antiforgery.Test (4)
AntiforgeryApplicationBuilderExtensionsTest.cs (4)
21Assert.False(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet")); 25Assert.True(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet")); 40Assert.False(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet")); 42Assert.False(builder.Properties.ContainsKey("__AntiforgeryMiddlewareSet"));
Microsoft.AspNetCore.Http.Tests (2)
ApplicationBuilderTests.cs (2)
160builder1.Properties["test"] = "value1"; 165Assert.Equal("value1", builder1.Properties["test"]);
Microsoft.AspNetCore.Routing.Tests (4)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (4)
309app.Properties.Add("__GlobalEndpointRouteBuilder", routeBuilder); 336app.Properties.Add("__GlobalEndpointRouteBuilder", routeBuilder); 339Assert.True(app.Properties.TryGetValue("__EndpointRouteBuilder", out var local)); 340Assert.True(app.Properties.TryGetValue("__GlobalEndpointRouteBuilder", out var global));