C# Class Settings.UserProfile.Profile

This class implements the model of the user profile part of the application. Typically, users have implicit run-time settings that should be re-activated when the application is re-started at a later point in time (e.g. window size and position). This class organizes these per user specific profile settings and is responsible for their storage (at program end) and retrieval at the start-up of the application.
Inheritance: IProfile
Afficher le fichier Open project: Dirkster99/SuggestBoxLib

Protected Properties

Свойство Type Description
logger log4net.ILog

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
CheckSettingsOnLoad ( double SystemParameters_VirtualScreenLeft, double SystemParameters_VirtualScreenTop ) : void

Checks the MainWindow for visibility when re-starting application (with different screen configuration).

GetLastActivePath ( ) : string

Get the path of the file or empty string if file does not exists on disk.

Profile ( ) : Settings.Interfaces

Class constructor

UpdateInsertWindowPosSize ( string windowName, Settings.UserProfile.ViewPosSizeModel model ) : void

Updates or inserts the requested window pos size item in the collection.

Method Details

CheckSettingsOnLoad() public méthode

Checks the MainWindow for visibility when re-starting application (with different screen configuration).
public CheckSettingsOnLoad ( double SystemParameters_VirtualScreenLeft, double SystemParameters_VirtualScreenTop ) : void
SystemParameters_VirtualScreenLeft double
SystemParameters_VirtualScreenTop double
Résultat void

GetLastActivePath() public méthode

Get the path of the file or empty string if file does not exists on disk.
public GetLastActivePath ( ) : string
Résultat string

Profile() public méthode

Class constructor
public Profile ( ) : Settings.Interfaces
Résultat Settings.Interfaces

UpdateInsertWindowPosSize() public méthode

Updates or inserts the requested window pos size item in the collection.
public UpdateInsertWindowPosSize ( string windowName, Settings.UserProfile.ViewPosSizeModel model ) : void
windowName string
model Settings.UserProfile.ViewPosSizeModel
Résultat void

Property Details

logger protected_oe static_oe property

protected static log4net.ILog logger
Résultat log4net.ILog