C# Class MPTagThat.Core.SettingsManager

Main Config Service
Inheritance: ISettingsManager
Afficher le fichier Open project: MediaPortal/MPTagThat

Méthodes publiques

Méthode Description
GetMaxSongs ( ) : int

Gets the maximum of songs alllowed in List

GetPortable ( ) : int

Gets the Portable Status

Load ( object settingsObject ) : void

Retrieves an object's public properties from an Xml file

Save ( object settingsObject ) : void

Stores an object's public properties to an Xml file

SetMaxSongs ( int maxsongs ) : void

Sets the maximum of Songs before switching to B Mode

SetPortable ( int portable ) : void

Sets the Portable Status

Method Details

GetMaxSongs() public méthode

Gets the maximum of songs alllowed in List
public GetMaxSongs ( ) : int
Résultat int

GetPortable() public méthode

Gets the Portable Status
public GetPortable ( ) : int
Résultat int

Load() public méthode

Retrieves an object's public properties from an Xml file
public Load ( object settingsObject ) : void
settingsObject object Object's instance
Résultat void

Save() public méthode

Stores an object's public properties to an Xml file
public Save ( object settingsObject ) : void
settingsObject object Object's instance
Résultat void

SetMaxSongs() public méthode

Sets the maximum of Songs before switching to B Mode
public SetMaxSongs ( int maxsongs ) : void
maxsongs int
Résultat void

SetPortable() public méthode

Sets the Portable Status
public SetPortable ( int portable ) : void
portable int
Résultat void