public DefaultSpaBuilder(IApplicationBuilder application, Assembly assembly, SeedSpaOptions server, SpaOptions options) { _application = application; _server = server; _options = options; _assembly = assembly; }
public SeedSpaOptions(SeedSpaOptions defaultOptions) { this.DevServerPort = defaultOptions?.DevServerPort ?? default(int); this.PkgManagerCommand = defaultOptions?.PkgManagerCommand ?? "npm"; this.SuccessRegx = defaultOptions?.SuccessRegx ?? "App running at:"; }