aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/UploadVersionRequest.cs
blob: 3946588135bad7a43b39c0f5b26a6be5d23980b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.MachineStudio.Common.Web
{
    public class UploadVersionRequest : WebRequestMessage
    {
        public String Version { get; set; }

        public String Comments { get; set; }

        public bool WithInstaller { get; set; }
    }
}
ass="w"> Convert(object[] values, Type targetType, object parameter, CultureInfo culture) { try { if (values.Length == 3 && values[1] != DependencyProperty.UnsetValue) { double length = System.Convert.ToDouble(values[0]); double progress = System.Convert.ToDouble(values[1]); double parentElementWidth = System.Convert.ToDouble(values[2]); return (progress / length) * parentElementWidth; } else { return 0d; } } catch { return 0d; } } public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { throw new NotImplementedException(); } } }