Ejemplo n.º 1
0
        public override string ToString()
        {
            var sb = new StringBuilder();

            sb.AppendLine($"Project file: {ProjectFile}");
            this.LogOutputFolder(sb);

            if (Simulations.Any())
            {
                sb.AppendLine($"Exporting simulation: {Simulations.ToString(", ")}");
            }
            else
            {
                sb.AppendLine($"Exporting all simulations");
            }

            sb.AppendLine($"Run simulation: {RunSimulation}");
            LogDefaultOptions(sb);
            return(sb.ToString());
        }
Ejemplo n.º 2
0
        public override string ToString()
        {
            var sb = new StringBuilder();

            sb.AppendLine($"Project file: {ProjectFile}");
            this.LogOption(sb);
            sb.AppendLine($"Export mode: {ExportMode}");

            if (Simulations.Any())
            {
                sb.AppendLine($"Exporting simulation: {Simulations.ToString(", ")}");
            }
            else
            {
                sb.AppendLine($"Exporting all simulations");
            }

            sb.AppendLine($"Run simulation: {RunSimulation}");
            sb.AppendLine($"Log level: {LogLevel}");
            sb.AppendLine($"Log file: {LogFileFullPath}");
            return(sb.ToString());
        }