1 write to StartupAssembly
Microsoft.AspNetCore.Hosting (1)
Internal\WebHostOptions.cs (1)
21
StartupAssembly
= GetConfig(WebHostDefaults.StartupAssemblyKey);
6 references to StartupAssembly
Microsoft.AspNetCore.Hosting (4)
GenericHost\GenericWebHostBuilder.cs (2)
90
if (!string.IsNullOrEmpty(webHostOptions.
StartupAssembly
))
102
var startupType = StartupLoader.FindStartupType(webHostOptions.
StartupAssembly
!, webhostContext.HostingEnvironment.EnvironmentName);
WebHostBuilder.cs (2)
302
if (!string.IsNullOrEmpty(_options.
StartupAssembly
))
304
ScanAssemblyAndRegisterStartup(services, _options.
StartupAssembly
);
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostBuilderTests.cs (1)
35
Assert.Equal("MyStartupAssembly", options.
StartupAssembly
);
WebHostConfigurationsTests.cs (1)
29
Assert.Equal("MyProjectReference", config.
StartupAssembly
);