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
파일 보기 프로젝트 열기: Dirkster99/SuggestBoxLib

보호된 프로퍼티들

프로퍼티 타입 설명
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