C# Class MPTagThat.Core.SettingsManager

Main Config Service
Inheritance: ISettingsManager
Mostrar archivo Open project: MediaPortal/MPTagThat

Public Methods

Method 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 method

Gets the maximum of songs alllowed in List
public GetMaxSongs ( ) : int
return int

GetPortable() public method

Gets the Portable Status
public GetPortable ( ) : int
return int

Load() public method

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

Save() public method

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

SetMaxSongs() public method

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

SetPortable() public method

Sets the Portable Status
public SetPortable ( int portable ) : void
portable int
return void