コード例 #1
0
 public ComputerInventory(ComputerHardware computerHardware, ComputerSoftware computerSoftware, ComputerProcesses computerProcesses, string computerName)
 {
     ComputerHardware  = computerHardware ?? throw new ArgumentNullException(nameof(computerHardware));
     ComputerSoftware  = computerSoftware ?? throw new ArgumentNullException(nameof(computerSoftware));
     ComputerProcesses = computerProcesses ?? throw new ArgumentNullException(nameof(computerProcesses));
     ComputerName      = computerName ?? throw new ArgumentNullException(nameof(computerName));
 }
 //ToDo: Implement creating a ComputerSoftware object from a set of Configuration Settings
 public static bool FromConfigurationSettings(Dictionary <string, string> configurationSettings, out ComputerSoftware computerSoftware)
 {
     throw new NotImplementedException();
 }
 public static ComputerSoftware InventoryThisComputer(this ComputerSoftware computerSoftware)
 {
     throw new NotImplementedException();
 }
 //ToDo: Implement writing a ComputerSoftware object to a set of Configuration Settings
 public static Dictionary <string, string> ToConfigurationSettings(this ComputerSoftware computerSoftware)
 {
     throw new NotImplementedException();
 }