aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Protobuf/ICompilerResult.cs
blob: 866ce64d0ad5a228984896c0dc1651dece2b8906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Protobuf
{
    /// <summary>
    /// Represents a protobuf compiler result.
    /// </summary>
    public interface ICompilerResult
    {
        /// <summary>
        /// Saves the result to the specified folder.
        /// </summary>
        /// <param name="folder">The folder.</param>
        void Save(String folder);

        /// <summary>
        /// Gets the result language.
        /// </summary>
        CompilerLanguage Language { get; }

        /// <summary>
        /// Gets the result name.
        /// </summary>
        String Name { get ; }

        /// <summary>
        /// Gets the result source path.
        /// </summary>
        String SourcePath { get; }
    }
}