C# Class Ctf.ApplicationTools.ApplicationSettings

Show file Open project: blstream/Patronage2013-CaptureTheFlag

Public Methods

Method Description
HasLoginInfo ( ) : bool

Determines whether [has login info].

RemoveFromSettings ( string keyword ) : bool

Removes from settings.

RetriveLoggedUser ( ) : User

Retrives the logged user.

SaveLoggedUser ( User user ) : bool

Saves the logged user.

Private Methods

Method Description
ApplicationSettings ( ) : System

Initializes the ApplicationSettings class.

OnUserChanged ( ApplicationEventArgs e ) : void

Raises the E:UserChanged event.

Method Details

HasLoginInfo() public method

Determines whether [has login info].
public HasLoginInfo ( ) : bool
return bool

RemoveFromSettings() public method

Removes from settings.
public RemoveFromSettings ( string keyword ) : bool
keyword string The keyword.
return bool

RetriveLoggedUser() public method

Retrives the logged user.
public RetriveLoggedUser ( ) : User
return Ctf.ApplicationTools.DataObjects.User

SaveLoggedUser() public method

Saves the logged user.
public SaveLoggedUser ( User user ) : bool
user Ctf.ApplicationTools.DataObjects.User The user.
return bool