Class DisplayNurse
- Namespace
- adas_core.Domain.Models.MongoModels
- Assembly
- adas-core.Domain.dll
Represents a display configuration specific to nurses, inheriting common display behavior from the DisplayConfig base class.
public class DisplayNurse : DisplayConfig
- Inheritance
-
DisplayNurse
- Inherited Members
- Extension Methods
Methods
MergeConfig(DisplayConfig)
Merges the current display configuration with the provided default configuration, populating HomeBanner, ColorConfig, and FormConfig with the default values when they are not already set. If the defaultConfig is not a DisplayNurse instance, the current configuration is returned unchanged before delegating to the base merge behavior.
public override DisplayConfig MergeConfig(DisplayConfig defaultConfig)
Parameters
defaultConfigDisplayConfigThe default DisplayConfig to merge values from. Only DisplayNurse instances contribute fallback values for nurse-specific settings.
Returns
- DisplayConfig
A DisplayConfig containing the merged configuration.