aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.CodeGeneration/Templates/Property.cshtml
blob: f1dc61696718b053c50355e8a4e39967254ae042 (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
25
26
27
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 .h
@if (Model.SetterContent == null && Model.GetterContent == null)
{
    <div>
        @(Model.GetAttributesString())
        @(Model.GetModifierString()) @(Model.Type) @(Model.Name) { get; set; }
    </div>
}
else if (Model.SetterContent != null && Model.GetterContent != null)
{
    <div>
        private @(Model.Type) @(Model.GetPrivateField());

        @(Model.GetAttributesString())
        @(Model.GetModifierString()) @(Model.Type) @(Model.Name)
        {
        get
        {
        @(Model.GetterContent)
        }
        @(Model.SetterModifier != CodeGenerator.CodeObjectModifier.None ? Model.SetterModifier.ToString().ToLower() : "") set
        {
        @(Model.SetterContent)
        }
        }
    </div>
}
else if (Model.GetterContent != null)
{
    <div>
        private @(Model.Type) @(Model.GetPrivateField());

        @(Model.GetAttributesString())
        @(Model.GetModifierString()) @(Model.Type) @(Model.Name)
        {
        get
        {
        @(Model.GetterContent)
        }
        }
    </div>
}
n>= new HashSet<RML>(); } public int ID { get; set; } public string GUID { get; set; } public System.DateTime LAST_UPDATED { get; set; } public string NAME { get; set; } public string DESCRIPTION { get; set; } public string FILE_NAME { get; set; } public byte[] DATA { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection<RML> RMLS { get; set; } } }