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