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