Example #1
0
        public ChangesDeliverable(
            TextReader reader,
            TextWriter writer,
            IChauffeurSettings settings,
            IFileSystem fileSystem,
            IContentTypeService contentTypeService,
            IDataTypeService dataTypeService,
            IFileService fileService,
            IMacroService macroService,
            IPackagingService packagingService,
            DatabaseSchemaHelper dbSchemaHelper,
            Database database
            ) : base(reader, writer)
        {
            _settings           = settings;
            _fileSystem         = fileSystem;
            _contentTypeService = contentTypeService;
            _dataTypeService    = dataTypeService;
            _packagingService   = packagingService;
            _fileService        = fileService;
            _macroService       = macroService;
            _dbSchemaHelper     = dbSchemaHelper;
            _database           = database;

            GetChangedEntityNames();
        }
Example #2
0
 public UpgradeDeliverableTests()
 {
     writer                 = new MockTextWriter();
     settings               = Substitute.For <IChauffeurSettings>();
     xmlDocumentWrapper     = Substitute.For <IXmlDocumentWrapper>();
     migrationRunnerService = Substitute.For <IMigrationRunnerService>();
 }
 public ContentImportDeliverable(
     TextReader reader,
     TextWriter writer,
     IFileSystem fileSystem,
     IChauffeurSettings settings,
     IPackagingService packagingService)
     : base(reader, writer)
 {
     this.fileSystem = fileSystem;
     this.settings = settings;
     this.packagingService = packagingService;
 }
 public PackageDeliverable(
     TextReader reader,
     TextWriter writer,
     IFileSystem fileSystem,
     IChauffeurSettings settings,
     IPackagingService packagingService)
     : base(reader, writer)
 {
     this.fileSystem       = fileSystem;
     this.settings         = settings;
     this.packagingService = packagingService;
 }
Example #5
0
 public DataTypeDeliverable(
     TextReader reader,
     TextWriter writer,
     IDataTypeService dataTypeService,
     IPackagingService packagingService,
     IFileSystem fileSystem,
     IChauffeurSettings settings) : base(reader, writer)
 {
     this.dataTypeService  = dataTypeService;
     this.packagingService = packagingService;
     this.fileSystem       = fileSystem;
     this.settings         = settings;
 }
Example #6
0
 public InstallDeliverable(
     TextReader reader,
     TextWriter writer,
     DatabaseContext context,
     IChauffeurSettings settings,
     Func<string, ISqlCeEngine> sqlCeEngineFactory,
     IFileSystem fileSystem
     )
     : base(reader, writer)
 {
     this.context = context;
     this.settings = settings;
     this.sqlCeEngineFactory = sqlCeEngineFactory;
     this.fileSystem = fileSystem;
 }
Example #7
0
 public DeliveryDeliverable(
     TextReader reader,
     TextWriter writer,
     UmbracoDatabase database,
     IChauffeurSettings settings,
     IFileSystem fileSystem,
     IChauffeurHost host
     )
     : base(reader, writer)
 {
     this.database   = database;
     this.settings   = settings;
     this.fileSystem = fileSystem;
     this.host       = host;
 }
Example #8
0
 public InstallDeliverable(
     TextReader reader,
     TextWriter writer,
     DatabaseContext context,
     IChauffeurSettings settings,
     Func <string, ISqlCeEngine> sqlCeEngineFactory,
     IFileSystem fileSystem
     )
     : base(reader, writer)
 {
     this.context            = context;
     this.settings           = settings;
     this.sqlCeEngineFactory = sqlCeEngineFactory;
     this.fileSystem         = fileSystem;
 }
 public DeliveryTrackingDeliverable(
     TextReader reader,
     TextWriter writer,
     ISqlSyntaxProvider sqlSyntax,
     Database database,
     IChauffeurSettings settings,
     IFileSystem fileSystem,
     DatabaseSchemaHelper dbSchemaHelper) : base(reader, writer)
 {
     this.sqlSyntax = sqlSyntax;
     this.database = database;
     this.settings = settings;
     this.fileSystem = fileSystem;
     this.dbSchemaHelper = dbSchemaHelper;
 }
 public DeliveryDeliverable(
     TextReader reader,
     TextWriter writer,
     UmbracoDatabase database,
     IChauffeurSettings settings,
     IFileSystem fileSystem,
     IChauffeurHost host
 )
     : base(reader, writer)
 {
     this.database = database;
     this.settings = settings;
     this.fileSystem = fileSystem;
     this.host = host;
 }
Example #11
0
 public UpgradeDeliverable(
     TextReader reader,
     TextWriter writer,
     IMigrationRunnerService migrationRunner,
     IMigrationEntryService migrationEntryService,
     IChauffeurSettings chauffeurSettings,
     IXmlDocumentWrapper xmlDocumentWrapper
     )
     : base(reader, writer)
 {
     this.migrationRunner       = migrationRunner;
     this.migrationEntryService = migrationEntryService;
     this.chauffeurSettings     = chauffeurSettings;
     this.xmlDocumentWrapper    = xmlDocumentWrapper;
 }
 public ContentTypeDeliverable(
     TextReader reader,
     TextWriter writer,
     IContentTypeService contentTypeService,
     Database database,
     IPackagingService packagingService,
     IFileSystem fileSystem,
     IChauffeurSettings settings
     )
     : base(reader, writer)
 {
     this.contentTypeService = contentTypeService;
     this.database = database;
     this.packagingService = packagingService;
     this.fileSystem = fileSystem;
     this.settings = settings;
 }
 public InstallDeliverable(
     TextReader reader,
     TextWriter writer,
     DatabaseSchemaHelper dbSchemaHelper,
     IChauffeurSettings settings,
     Func <string, ISqlCeEngine> sqlCeEngineFactory,
     IFileSystem fileSystem,
     ApplicationContext appContext
     )
     : base(reader, writer)
 {
     this.dbSchemaHelper     = dbSchemaHelper;
     this.settings           = settings;
     this.sqlCeEngineFactory = sqlCeEngineFactory;
     this.fileSystem         = fileSystem;
     this.appContext         = appContext;
 }
 public ContentTypeDeliverable(
     TextReader reader,
     TextWriter writer,
     IContentTypeService contentTypeService,
     IDatabaseUnitOfWorkProvider uowProvider,
     IPackagingService packagingService,
     IFileSystem fileSystem,
     IChauffeurSettings settings
     )
     : base(reader, writer)
 {
     this.contentTypeService = contentTypeService;
     this.uowProvider        = uowProvider;
     this.packagingService   = packagingService;
     this.fileSystem         = fileSystem;
     this.settings           = settings;
 }
 public ContentTypeDeliverable(
     TextReader reader,
     TextWriter writer,
     IContentTypeService contentTypeService,
     IDatabaseUnitOfWorkProvider uowProvider,
     IPackagingService packagingService,
     IFileSystem fileSystem,
     IChauffeurSettings settings
     )
     : base(reader, writer)
 {
     this.contentTypeService = contentTypeService;
     this.uowProvider = uowProvider;
     this.packagingService = packagingService;
     this.fileSystem = fileSystem;
     this.settings = settings;
 }
 public ScaffoldDeliverable(
     TextReader reader,
     TextWriter writer,
     IChauffeurSettings settings,
     IFileSystem fileSystem,
     IContentTypeService contentTypeService,
     IDataTypeService dataTypeService,
     IFileService fileService,
     IMacroService macroService,
     IPackagingService packagingService) : base(reader, writer)
 {
     this.settings           = settings;
     this.fileSystem         = fileSystem;
     this.contentTypeService = contentTypeService;
     this.dataTypeService    = dataTypeService;
     this.packagingService   = packagingService;
     this.fileService        = fileService;
     this.macroService       = macroService;
 }
 public SettingsDeliverable(TextReader reader, TextWriter writer, IChauffeurSettings settings) : base(reader, writer)
 {
     this.settings = settings;
 }
 public SettingsDeliverable(TextReader reader, TextWriter writer, IChauffeurSettings settings) : base(reader, writer)
 {
     this.settings = settings;
 }