aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/EnumerationFile.cshtml
blob: 36154c3ec798a4aac223894d64f6c75d7e4a78cd (plain)
1
2
3
4
5
6
7
8
9
10
11pre { 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: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 }
//------------------------------------------------------------------------------
// <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.Collections.ObjectModel;
using System.Linq;
using System.ComponentModel;

namespace Tango.BL.Enumerations
{
    public enum @(Model.Name)
    {
        @foreach (var prop in Model.Fields)
        {
    <div>
        /// <summary>
        /// (@prop.Description)
        /// </summary>
        [Description("@(prop.Description)")]
        @(prop.Name) = @(prop.Value),

    </div>
        }
    }
}
cludeAssemblies) { return new UseCurrentAssembliesReferenceResolver() .GetReferences(context, includeAssemblies) .Where(f => !f.GetFile().EndsWith(".winmd")); } } }