void ConstructComputerInventory() { Log.Debug("in BaseServicesData .ctor: ConstructComputerInventory"); // Look at the BaseServices configuration settings for options in setting up the initial ComputerInventory if (true) { ComputerInventory = new ATAP.Utilities.ComputerInventory.ComputerInventory().FromComputerName("localhost"); } else { ComputerInventory = new ATAP.Utilities.ComputerInventory.ComputerInventory().FromConfigurationFile("./ncat-lt02"); } }
public ComputerInventoryTestData(ComputerInventory computerInventory, string serializedComputerInventory) { ComputerInventory = computerInventory ?? throw new ArgumentNullException(nameof(computerInventory)); SerializedComputerInventory = serializedComputerInventory ?? throw new ArgumentNullException(nameof(serializedComputerInventory)); }