C# Class ACAT.Lib.Core.PanelManagement.PreferredPanelConfig

Stores a mapping between preferred config names and the scanners If a scanner has multiple animation config files, this allows for selecting a preferred config file from the list.
Afficher le fichier Open project: brlima94/acat-localization

Méthodes publiques

Méthode Description
GetConfigName ( String panelClass ) : String

Looks up the map table and returns the name of the configuration for the specified scanner

Load ( ) : bool

Parses the preferred panel config file name, populates the map table

PreferredPanelConfig ( ) : System

Initializes a new instance of the class.

Private Methods

Méthode Description
loadConfig ( XmlNode node ) : String>.Dictionary

Loads the configuration from the specified xml node by parsing the attributes contained in the node. Returns the mapping between the panel configuration name and the panel type it maps to

loadPreferredPanelConfig ( String file ) : bool

Parses the preferred panel config file name, populates the map table

Method Details

GetConfigName() public méthode

Looks up the map table and returns the name of the configuration for the specified scanner
public GetConfigName ( String panelClass ) : String
panelClass String scanner
Résultat String

Load() public méthode

Parses the preferred panel config file name, populates the map table
public Load ( ) : bool
Résultat bool

PreferredPanelConfig() public méthode

Initializes a new instance of the class.
public PreferredPanelConfig ( ) : System
Résultat System