/// <inheritdoc/>
        public override bool Execute()
        {
            var result = base.Execute();

            if (result)
            {
                this.RegFile = RegAsm.GetRegFileTaskItem(this.Assembly);
            }

            return(result);
        }
        /// <inheritdoc/>
        protected override string GenerateCommandLineCommands()
        {
            var commandLineBuilder = new CommandLineBuilder();

            commandLineBuilder.AppendFileNameIfNotNull(this.Assembly);
            commandLineBuilder.AppendSwitchIfNotNull("/regfile:", RegAsm.GetRegFileTaskItem(this.Assembly));

            var result = commandLineBuilder.ToString();

            return(result);
        }