aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/ProtoProperty.cs
blob: 73debac37352b8752e2ac5cc359c57ed44243565 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.CodeGeneration
{
    public class ProtoProperty : Property
    {
        public bool Repeated { get; set; }

        public String Description { get; set; }

        public ProtoProperty()
        {

        }

        public ProtoProperty(String name, String type) : this()
        {
            Name = name;
            Type = type;
        }

        public ProtoProperty(String name, String type, String description) : this(name, type)
        {
            Description = description;
        }
    }
}