@if (Desktop.Cpus?.Any() == true)
{
CPU
@foreach (var cpu in Desktop.Cpus)
{
@cpu.Model — @cpu.Cores cores / @cpu.Threads threads
}
}
@if (Desktop.Ram is not null)
{
RAM
@Desktop.Ram.Size GB @Desktop.Ram.Mts MT/s
}
@if (Desktop.Drives?.Any() == true)
{
Drives
@foreach (var drive in Desktop.Drives)
{
@drive.Type — @drive.Size GB
}
}
@if (Desktop.Nics?.Any() == true)
{
NICs
@foreach (var nic in Desktop.Nics)
{
@nic.Type — @nic.Speed Gbps (@nic.Ports ports)
}
}
@if (Desktop.Gpus?.Any() == true)
{
GPU
@foreach (var gpu in Desktop.Gpus)
{
@gpu.Model — @gpu.Vram GB VRAM
}
}