/// <summary>
 ///     Initializes a new instance of the <see cref="DeploymentService" /> class.
 /// </summary>
 /// <param name="configurationService">The configuration Service.</param>
 /// <param name="scriptService">The script Service.</param>
 /// <param name="fileService">The file Service.</param>
 /// <param name="scriptMessageFormatter">The script formatter for messages</param>
 public DeploymentService(IConfigurationService configurationService, IScriptService scriptService, IFileService fileService, IScriptMessageFormatter scriptMessageFormatter)
 {
     this.configurationService   = configurationService;
     this.scriptService          = scriptService;
     this.fileService            = fileService;
     this.scriptMessageFormatter = scriptMessageFormatter;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="DeploymentService"/> class.
        /// </summary>
        /// <param name="databaseService">
        /// The database service to use for database calls
        /// </param>
        /// <param name="configurationService">
        /// The configuration Service.
        /// </param>
        /// <param name="scriptService">
        /// The script Service.
        /// </param>
        /// <param name="fileService">
        /// The file Service.
        /// </param>
        /// <param name="scriptMessageFormatter">
        /// The script formatter for messages
        /// </param>
        public DeploymentService(IDatabaseService databaseService, IConfigurationService configurationService, IScriptService scriptService, IFileService fileService, IScriptMessageFormatter scriptMessageFormatter)
        {
            if (log.IsDebugEnabled)
            {
                log.Debug(LogUtility.GetContext(databaseService, configurationService, scriptService, fileService, scriptMessageFormatter));
            }

            this.databaseService        = databaseService;
            this.configurationService   = configurationService;
            this.scriptService          = scriptService;
            this.fileService            = fileService;
            this.scriptMessageFormatter = scriptMessageFormatter;

            if (log.IsDebugEnabled)
            {
                log.Debug(LogUtility.GetResult());
            }
        }