Example #1
0
 public DataMigrationScriptsGenerator(InstalledPackages installedPackages,
                                      FilesUtility filesUtility,
                                      IDataMigrationScriptsFile dataMigrationScriptsFile)
 {
     _installedPackages        = installedPackages;
     _filesUtility             = filesUtility;
     _dataMigrationScriptsFile = dataMigrationScriptsFile;
 }
 public ResourcesGenerator(InstalledPackages installedPackages, ILogProvider logProvider, BuildOptions buildOptions)
 {
     _installedPackages = installedPackages;
     _logProvider       = logProvider;
     _buildOptions      = buildOptions;
     _logger            = logProvider.GetLogger(GetType().Name);
     _performanceLogger = logProvider.GetLogger("Performance." + GetType().Name);
 }
 internal void Save(InstalledPackages installedPackages)
 {
     JsonUtility.SerializeToFile(installedPackages, _packagesFilePath, _serializerSettings);
 }
 public InstalledPackagesGenerator(InstalledPackages installedPackages, InstalledPackagesProvider installedPackagesProvider)
 {
     _installedPackagesProvider = installedPackagesProvider;
     _installedPackages         = installedPackages;
 }