1 instantiation of SpaOptions
Microsoft.AspNetCore.SpaServices.Extensions (1)
SpaApplicationBuilderExtensions.cs (1)
35
var options = new
SpaOptions
(optionsProvider.Value);
18 references to SpaOptions
Microsoft.AspNetCore.SpaServices.Extensions (18)
AngularCli\AngularCliBuilder.cs (2)
45
throw new InvalidOperationException($"To use {nameof(AngularCliBuilder)}, you must supply a non-empty value for the {nameof(
SpaOptions
.SourcePath)} property of {nameof(
SpaOptions
)} when calling {nameof(SpaApplicationBuilderExtensions.UseSpa)}.");
AngularCli\AngularCliMiddlewareExtensions.cs (3)
29
var
spaOptions = spaBuilder.Options;
33
throw new InvalidOperationException($"To use {nameof(UseAngularCliServer)}, you must supply a non-empty value for the {nameof(
SpaOptions
.SourcePath)} property of {nameof(
SpaOptions
)} when calling {nameof(SpaApplicationBuilderExtensions.UseSpa)}.");
DefaultSpaBuilder.cs (2)
12
public
SpaOptions
Options { get; }
14
public DefaultSpaBuilder(IApplicationBuilder applicationBuilder,
SpaOptions
options)
ISpaBuilder.cs (1)
23
SpaOptions
Options { get; }
ReactDevelopmentServer\ReactDevelopmentServerMiddlewareExtensions.cs (3)
29
var
spaOptions = spaBuilder.Options;
33
throw new InvalidOperationException($"To use {nameof(UseReactDevelopmentServer)}, you must supply a non-empty value for the {nameof(
SpaOptions
.SourcePath)} property of {nameof(
SpaOptions
)} when calling {nameof(SpaApplicationBuilderExtensions.UseSpa)}.");
SpaApplicationBuilderExtensions.cs (2)
34
var optionsProvider = app.ApplicationServices.GetService<IOptions<
SpaOptions
>>()!;
35
var
options = new SpaOptions(optionsProvider.Value);
SpaDefaultPageMiddleware.cs (1)
19
var
options = spaBuilder.Options;
SpaOptions.cs (4)
19
/// Constructs a new instance of <see cref="
SpaOptions
"/>.
26
/// Constructs a new instance of <see cref="
SpaOptions
"/>.
28
/// <param name="copyFromOptions">An instance of <see cref="
SpaOptions
"/> from which values should be copied.</param>
29
internal SpaOptions(
SpaOptions
copyFromOptions)