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; }
        }
    }
}
pan class="w"> event EventHandler<ColorProfileRequestEventArgs> ColorProfileRequest; /// <summary> /// Gets or sets the machine operator. /// </summary> IMachineOperator MachineOperator { get; set; } /// <summary> /// Gets or sets the machine. /// </summary> Machine Machine { get; set; } /// <summary> /// Gets a value indicating whether this instance is started. /// </summary> bool IsStarted { get; } /// <summary> /// Gets or sets a value indicating whether this <see cref="IExternalBridgeService"/> is enabled. /// </summary> bool Enabled { get; set; } /// <summary> /// Gets a value indicating whether a remote client is authenticated and in session. /// </summary> bool IsInSession { get; } /// <summary> /// Starts this instance. /// </summary> void Start(); /// <summary> /// Stops this instance. /// </summary> void Stop(); /// <summary> /// Disconnects the current remote client session. /// </summary> void DisconnectSession(); /// <summary> /// Gets the current session login intent. /// </summary> ExternalBridgeLoginIntent SessionIntent { get; } } }