Exemplo n.º 1
0
 public void Update(ICpuData data)
 {
     this.ClockSpeed            = data.ClockSpeed;
     this.Identifier            = data.Identifier;
     this.Name                  = data.Name;
     this.NumberOfLogicalCores  = data.NumberOfLogicalCores;
     this.ProcessorArchitecture = data.ProcessorArchitecture;
     this.ProcessorLevel        = data.ProcessorLevel;
     this.VendorIdentifier      = data.VendorIdentifier;
 }
Exemplo n.º 2
0
 public CpuDataViewModel(ICpuData data)
 {
     _clockSpeed            = data.ClockSpeed;
     _identifier            = data.Identifier;
     _name                  = data.Name;
     _numberOfLogicalCores  = data.NumberOfLogicalCores;
     _processorArchitecture = data.ProcessorArchitecture;
     _processorLevel        = data.ProcessorLevel;
     _vendorIdentifier      = data.VendorIdentifier;
 }