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