aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/EntityDTOCodeFile.cshtml
blob: 7992aeb86bff8c9bea5a5b525557f6adeff42e3c (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
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color:
@{ 
    Tango.CodeGeneration.EntityDTOCodeFile model = Model as Tango.CodeGeneration.EntityDTOCodeFile;
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Tango Observables Generator
// 
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. Do not modify!
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;

namespace Tango.BL.DTO
{
    @if (model.Description != null)
    {
        <div>
        /// <summary>
        /// @(model.Description)
        /// </summary>
        </div>
    }
    public abstract class @(model.Name) : ObservableEntityDTO<@(model.InheritedType), @(model.ObservableType)>
    {
        @foreach (var prop in model.Properties)
        {
          <div>
            /// <summary>
            /// @(prop.Description)
            /// </summary>
            public @(prop.Type) @(prop.Name) { get; set; }

          </div>
        }
    }
}
class="na">[Description("Embedded C")] EmbeddedC, [Description("JavaScript")] JS, [Description("Python")] Python, [Description("PHP")] PHP, [Description("Ruby")] Ruby, } }