1 write to SourcePath
Microsoft.AspNetCore.SpaServices.Extensions (1)
SpaOptions.cs (1)
34
SourcePath
= copyFromOptions.SourcePath;
9 references to SourcePath
Microsoft.AspNetCore.SpaServices.Extensions (9)
AngularCli\AngularCliBuilder.cs (2)
42
var sourcePath = spaBuilder.Options.
SourcePath
;
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\AngularCliMiddleware.cs (1)
28
var sourcePath = spaBuilder.Options.
SourcePath
;
AngularCli\AngularCliMiddlewareExtensions.cs (2)
31
if (string.IsNullOrEmpty(spaOptions.
SourcePath
))
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)}.");
ReactDevelopmentServer\ReactDevelopmentServerMiddleware.cs (1)
28
var sourcePath = spaBuilder.Options.
SourcePath
;
ReactDevelopmentServer\ReactDevelopmentServerMiddlewareExtensions.cs (2)
31
if (string.IsNullOrEmpty(spaOptions.
SourcePath
))
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)}.");
SpaOptions.cs (1)
34
SourcePath = copyFromOptions.
SourcePath
;