1 write to Properties
Microsoft.Extensions.Hosting.Abstractions (1)
HostBuilderContext.cs (1)
23
Properties
= properties;
16 references to Properties
Microsoft.AspNetCore (2)
BootstrapHostBuilder.cs (1)
39
public IDictionary<object, object> Properties => Context.
Properties
;
ConfigureHostBuilder.cs (1)
36
public IDictionary<object, object> Properties => _context.
Properties
;
Microsoft.AspNetCore.Hosting (9)
GenericHost\GenericWebHostBuilder.cs (5)
55
var webHostOptions = (WebHostOptions)context.
Properties
[typeof(WebHostOptions)];
218
var webHostOptions = (WebHostOptions)context.
Properties
[typeof(WebHostOptions)];
236
context.
Properties
[_startupKey] = instance;
307
var instance = context.
Properties
[_startupKey];
308
var builder = (ConfigureContainerBuilder)context.
Properties
[typeof(ConfigureContainerBuilder)];
GenericHost\SlimWebHostBuilder.cs (1)
31
var webHostOptions = (WebHostOptions)context.
Properties
[typeof(WebHostOptions)];
GenericHost\WebHostBuilderBase.cs (3)
76
if (!context.
Properties
.TryGetValue(typeof(WebHostBuilderContext), out var contextVal))
86
context.
Properties
[typeof(WebHostBuilderContext)] = webHostBuilderContext;
87
context.
Properties
[typeof(WebHostOptions)] = options;
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (3)
2189
Assert.Equal("world", context.
Properties
["hello"]);
2195
Assert.Equal("world", context.
Properties
["hello"]);
2201
Assert.Equal("world", context.
Properties
["hello"]);
Microsoft.Extensions.Hosting (2)
HostApplicationBuilder.cs (2)
188
IDictionary<object, object> IHostApplicationBuilder.Properties => _hostBuilderContext.
Properties
;
340
public IDictionary<object, object> Properties => _hostApplicationBuilder._hostBuilderContext.
Properties
;