C# Класс 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.
Наследование: IProfile
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
logger log4net.ILog

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

CheckSettingsOnLoad() публичный Метод

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
Результат void

GetLastActivePath() публичный Метод

Get the path of the file or empty string if file does not exists on disk.
public GetLastActivePath ( ) : string
Результат string

Profile() публичный Метод

Class constructor
public Profile ( ) : Settings.Interfaces
Результат Settings.Interfaces

UpdateInsertWindowPosSize() публичный Метод

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
Результат void

Описание свойств

logger защищенное статическое свойство

protected static log4net.ILog logger
Результат log4net.ILog