aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TEMP/Tango.Scripting/Tango.Scripting.Editors/Popups/ParameterDescription.cs
blob: 6650f76ec978b6130687a08c9e3cd6c64e530bf7 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Scripting.Editors.Popups
{
    public class ParameterDescription
    {
        public ParameterDescription(MethodDescription method)
        {
            Method = method;
        }

        public MethodDescription Method { get; set; }
        public String Type { get; set; }
        public String Name { get; set; }
        public String Description { get; set; }

        public bool IsLast
        {
            get { return Method.Parameters.Last() == this; }
        }
    }
}