React to aspnet/Razor#281 changes
This commit is contained in:
parent
d2bdd4f1d4
commit
1c00cfe7aa
|
|
@ -31,7 +31,7 @@
|
|||
<ul>
|
||||
@foreach (var property in metadata.Properties)
|
||||
{
|
||||
@PropertyListItem(property)
|
||||
<li>Property @property.PropertyName is type @property.ModelType.Name and '@(property.Description ?? "no description")'</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
|
@ -114,12 +114,4 @@
|
|||
</table>
|
||||
}
|
||||
</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>
|
||||
}
|
||||
</div>
|
||||
Loading…
Reference in New Issue