C# Class withSIX.Mini.Core.Games.GameStartupParameters

Inheritance: System.ComponentModel.PropertyChangedBase
显示文件 Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Private Properties

Property Type Description
OnDeserialized void
Parse void
Refresh void
SwitchOff void
SwitchOn void
UpdateStartupLine void

Public Methods

Method Description
Get ( ) : IEnumerable

Protected Methods

Method Description
BuildParameters ( ) : IEnumerable
BuildSwitches ( ) : IEnumerable
CutdownOnTrailingBackslashes ( string value ) : string
GameStartupParameters ( ) : System.Collections.Generic
GameStartupParameters ( string defaultParameters ) : System.Collections.Generic
GetPropertyOrDefault ( [ key = null ) : string
GetSwitchOrDefault ( [ key = null ) : bool
ParseInputString ( string input ) : void
SetPropertyOrDefault ( string value, [ key = null, bool silent = false ) : void
SetSwitchOrDefault ( bool value, [ key = null, bool silent = false ) : void

Private Methods

Method Description
OnDeserialized ( StreamingContext context ) : void
Parse ( string input, bool silent = false ) : void
Refresh ( string key ) : void
SwitchOff ( string key, bool silent ) : void
SwitchOn ( string key, bool silent ) : void
UpdateStartupLine ( ) : void

Method Details

BuildParameters() protected abstract method

protected abstract BuildParameters ( ) : IEnumerable
return IEnumerable

BuildSwitches() protected abstract method

protected abstract BuildSwitches ( ) : IEnumerable
return IEnumerable

CutdownOnTrailingBackslashes() protected static method

protected static CutdownOnTrailingBackslashes ( string value ) : string
value string
return string

GameStartupParameters() protected method

protected GameStartupParameters ( ) : System.Collections.Generic
return System.Collections.Generic

GameStartupParameters() protected method

protected GameStartupParameters ( string defaultParameters ) : System.Collections.Generic
defaultParameters string
return System.Collections.Generic

Get() public method

public Get ( ) : IEnumerable
return IEnumerable

GetPropertyOrDefault() protected method

protected GetPropertyOrDefault ( [ key = null ) : string
key [
return string

GetSwitchOrDefault() protected method

protected GetSwitchOrDefault ( [ key = null ) : bool
key [
return bool

ParseInputString() protected abstract method

protected abstract ParseInputString ( string input ) : void
input string
return void

SetPropertyOrDefault() protected method

protected SetPropertyOrDefault ( string value, [ key = null, bool silent = false ) : void
value string
key [
silent bool
return void

SetSwitchOrDefault() protected method

protected SetSwitchOrDefault ( bool value, [ key = null, bool silent = false ) : void
value bool
key [
silent bool
return void