using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.Protobuf.Compilers { /// /// Represents a protobuf Python Compiler. /// /// public class PythonCompiler : ProtoCompiler { /// /// Gets the compiler language. /// public override CompilerLanguage Language => CompilerLanguage.Python; /// /// Gets the protobuf compiler CLI arguments (without input/output files!). /// /// protected override string GetProtoArguments() { return "--python_out"; } } }
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;

namespace Tango.Scripting.IDE.Controls
{
    public class ErrorData: ExtendedObject
    {
        private string _severity;
        private string _error;
        private string _project;
        private string _code;

        public string Description
        {
            get { return _error; }
            set
            {
                _error = value;
                RaisePropertyChangedAuto();
            }
        }
        public string Severity
        {
            get { return _severity; }
            set
            {
                _severity = value;
                RaisePropertyChangedAuto();
            }
        }
        public string Project
        {
            get { return _project; }
            set
            {
                _project = value;
                RaisePropertyChangedAuto();
            }
        }
        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }

        public string File { get; set; }
        public string Line { get; set; }
        public string SuppressionState { get; set; }
    }
}