aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/Class.cshtml
blob: 693fe9136ec1a504228adc3b7cab83b97a4e5b49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    @(Model.GetAttributesString())
    @(Model.GetModifierString()) class @(Model.Name) @(Model.InheritsFrom.Count > 0 ? " : " + String.Join(", ",Model.InheritsFrom) : null)
    {
        @foreach (var prop in Model.Properties)
        {
            <div>@prop.GenerateCode()</div>
        }

        @foreach (var dp in Model.DependencyProperties)
        {
            <div>@dp.GenerateCode()</div>
        }

        @foreach (var method in Model.Methods)
        {
            <div>@method.GenerateCode()</div>
        }
    }
t .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Tango.MachineStudio.RML.Views
{
    /// <summary>
    /// Interaction logic for SpoolsView.xaml
    /// </summary>
    public partial class HeadCleaningParametersView : UserControl
    {
        public HeadCleaningParametersView()
        {
            InitializeComponent();
        }
    }
}