C# Class withSIX.Play.Core.Options.ServerOptions

Inheritance: OptionBase
Show file Open project: SIXNetworks/withSIX.Desktop

Private Properties

Property Type Description
OnDeserialized void

Public Methods

Method Description
AddFavorite ( Server server ) : void
AddRecent ( Server server ) : void
GetPassword ( Server server ) : string
IsFavorite ( Server server ) : bool
RemoveFavorite ( Server server ) : void
RemoveRecent ( Server server ) : void
SetPassword ( Server server, string value ) : void
UpdateFavorite ( Server server ) : FavoriteServer

Protected Methods

Method Description
GetPassword ( ServerAddress identifier ) : string
SetPassword ( ServerAddress identifier, string value ) : void

Private Methods

Method Description
OnDeserialized ( StreamingContext context ) : void

Method Details

AddFavorite() public method

public AddFavorite ( Server server ) : void
server Server
return void

AddRecent() public method

public AddRecent ( Server server ) : void
server Server
return void

GetPassword() public method

public GetPassword ( Server server ) : string
server Server
return string

GetPassword() protected method

protected GetPassword ( ServerAddress identifier ) : string
identifier ServerAddress
return string

IsFavorite() public method

public IsFavorite ( Server server ) : bool
server Server
return bool

RemoveFavorite() public method

public RemoveFavorite ( Server server ) : void
server Server
return void

RemoveRecent() public method

public RemoveRecent ( Server server ) : void
server Server
return void

SetPassword() public method

public SetPassword ( Server server, string value ) : void
server Server
value string
return void

SetPassword() protected method

protected SetPassword ( ServerAddress identifier, string value ) : void
identifier ServerAddress
value string
return void

UpdateFavorite() public method

public UpdateFavorite ( Server server ) : FavoriteServer
server Server
return withSIX.Play.Core.Options.Entries.FavoriteServer