示例#1
0
 public DefaultTemplatePackageProvider(ITemplatePackageProviderFactory factory, IEngineEnvironmentSettings environmentSettings, IEnumerable <string>?nupkgs = null, IEnumerable <string>?folders = null)
 {
     Factory = factory;
     _environmentSettings = environmentSettings;
     _nupkgs  = nupkgs ?? Array.Empty <string>();
     _folders = folders ?? Array.Empty <string>();
 }
示例#2
0
 internal OptionalWorkloadProvider(ITemplatePackageProviderFactory factory, IEngineEnvironmentSettings settings)
 {
     this.Factory = factory;
     this._environmentSettings = settings;
 }