Ejemplo n.º 1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="options">An instance of the CommandLineOptions object</param>
        /// <param name="logger">An instance of the Logger object</param>
        public MergeISVProjectDriver(ICommandLineOptions options, ILogger logger)
        {
            _Options = options;
            _Logger  = logger;

            _Logger.LogMethodHeader($"{this.GetType().Name}.{Utilities.GetCurrentMethod()}");

            _Sage300Path   = GetSage300Path();
            _FolderManager = new FolderManager(logger,
                                               _Options.WebProjectPath.OptionValue,
                                               _Sage300Path,
                                               _Options.ModuleId);
            _Logger.Log(_FolderManager.GenerateLogOutput());
            VerifyCorrectBuildProfileSpecified();

            _Logger.LogMethodFooter(Utilities.GetCurrentMethod());
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="logger">The instance of the logger object</param>
 /// <param name="folders">The instance FolderManager object</param>
 /// <param name="moduleId">The string representation of the Module ID</param>
 public SageISVMinifier(ILogger logger, FolderManager folders, string moduleId)
 {
     _Logger   = logger;
     _Folders  = folders;
     _ModuleId = moduleId;
 }