Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit a163436

Browse files
Rename BuildOnDemand to BootModuleBuilder
1 parent c8b337e commit a163436

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static void UseSpaPrerendering(
5454
}
5555

5656
// If we're building on demand, start that process in the background now
57-
var buildOnDemandTask = options.BuildOnDemand?.Build(spaBuilder);
57+
var buildOnDemandTask = options.BootModuleBuilder?.Build(spaBuilder);
5858

5959
// Get all the necessary context info that will be used for each prerendering call
6060
var applicationBuilder = spaBuilder.ApplicationBuilder;

src/Microsoft.AspNetCore.SpaServices.Extensions/Prerendering/SpaPrerenderingOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class SpaPrerenderingOptions
2121
/// file automatically when the application runs. This property should be left as <c>null</c> in
2222
/// production applications.
2323
/// </summary>
24-
public ISpaPrerendererBuilder BuildOnDemand { get; set; }
24+
public ISpaPrerendererBuilder BootModuleBuilder { get; set; }
2525

2626
/// <summary>
2727
/// Gets or sets the path, relative to your application root, of the JavaScript file

0 commit comments

Comments
 (0)