Type
@if (_isEditing)
{
}
else if (!string.IsNullOrWhiteSpace(System.Type))
{
@System.Type
}
OS
@if (_isEditing)
{
}
else if (!string.IsNullOrWhiteSpace(System.Os))
{
@System.Os
}
Cores
@if (_isEditing)
{
}
else if (System.Cores.HasValue)
{
@System.Cores
}
RAM (GB)
@if (_isEditing)
{
}
else if (System.Ram.HasValue)
{
@System.Ram GB
}
Runs On
@if (_isEditing)
{
}
else if (!string.IsNullOrWhiteSpace(System.RunsOn))
{
@System.RunsOn
}
@if (!_isEditing && System.Drives?.Any() == true)
{
Drives
@foreach (var drive in System.Drives)
{
@drive.Type — @drive.Size GB
}
}