Click or drag to resize

DHMHardwareItemsUsage Methods

The DHMHardwareItemsUsage type exposes the following members.

Methods
  NameDescription
Public methodCheckValidity
Checks if the instance definition is valid. If not, an exception is thrown.
Public methodStatic memberCreateInstanceFromConfigurationFile
Creates an instance according to the configuration in a json file
Public methodInitFromConfigurationFile
Initializes the instance from a .json configuration file stored in configurationFileFullPath
Public methodInitFromDatabase(IBaseManager, HardwareItemUsage)
Initialize the instance with all the hardware enabled or defined in the database (hardware configuration and enabled modules), with each hardware item set to the same usage of usageForAllHardwareItems
Public methodInitFromDatabase(IBaseManager, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage, HardwareItemUsage)
Initializes the instance with all the hardware enabled or defined in the database (hardware configuration and enabled modules), with all hardware items of each category set to the same usage
Public methodSaveToConfigurationFile
Save the instance configuration in a .json configuration file. Can be loaded again using the appropriate constructor or InitFromConfigurationFile(String)
Public methodToString (Overrides ObjectToString.)
Top
See Also