This commit is contained in:
Ajay Bhargav Baaskaran 2015-03-17 14:05:17 -07:00
parent d2bdd4f1d4
commit 1c00cfe7aa
1 changed files with 2 additions and 10 deletions

View File

@ -31,7 +31,7 @@
<ul> <ul>
@foreach (var property in metadata.Properties) @foreach (var property in metadata.Properties)
{ {
@PropertyListItem(property) <li>Property @property.PropertyName is type @property.ModelType.Name and '@(property.Description ?? "no description")'</li>
} }
</ul> </ul>
} }
@ -115,11 +115,3 @@
} }
</div> </div>
</div> </div>
@helper PropertyListItem(ModelMetadata property)
{
var propertyName = property.PropertyName;
var propertyTypeName = property.ModelType.Name;
<li>Property @propertyName is type @propertyTypeName and '@(property.Description ?? "no description")'</li>
}