blob: a8a6326790193da69d88741f01eb581b2c446263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.ComponentModel;
namespace Tango.Integration.Observables
{
public enum @(Model.Name)
{
@foreach (var prop in Model.Fields)
{
<div>
/// <summary>
/// (@prop.Description)
/// </summary>
[Description("@(prop.Description)")]
@(prop.Name) = @(prop.Value),
</div>
}
}
}
|