Rename BuildOnDemand to BootModuleBuilder

This commit is contained in:
Steve Sanderson 2017-11-09 10:25:48 -08:00
Родитель c8b337ebaa
Коммит a16343681b
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Builder
}
// If we're building on demand, start that process in the background now
var buildOnDemandTask = options.BuildOnDemand?.Build(spaBuilder);
var buildOnDemandTask = options.BootModuleBuilder?.Build(spaBuilder);
// Get all the necessary context info that will be used for each prerendering call
var applicationBuilder = spaBuilder.ApplicationBuilder;

Просмотреть файл

@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Builder
/// file automatically when the application runs. This property should be left as <c>null</c> in
/// production applications.
/// </summary>
public ISpaPrerendererBuilder BuildOnDemand { get; set; }
public ISpaPrerendererBuilder BootModuleBuilder { get; set; }
/// <summary>
/// Gets or sets the path, relative to your application root, of the JavaScript file