aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/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; }
        }
    }
}
ntSize="10" Foreground="{StaticResource Hexagon.ForegroundBrush}"> <Run Text="&#916;"></Run> <Run Text="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Resolution,FallbackValue=1}"></Run> </TextBlock> </Grid> <Button ToolTip="Decrease Delta Resolution" Click="OnResolutionDownClicked" Grid.Row="2" Style="{StaticResource MaterialDesignFlatButton}" Height="50" Padding="0" Foreground="{StaticResource DarkGrayBrush}" VerticalAlignment="Top"> <materialDesign:PackIcon Kind="ArrowDown" Width="24" Height="24" /> </Button> </Grid> </Grid> </Grid> </UserControl>