C# Class Arena.ViewModels.MainWindowViewModel

Inheritance: BindableBase
Exibir arquivo Open project: michalczerwinski/hello_wars Class Usage Examples

Public Methods

Method Description
ApplyConfiguration ( string configFilePath ) : void
ApplyGameCustomConfiguration ( string configFilePath ) : void
AskForCompetitors ( string gameTypeName, List emptyCompetitors ) : void
InitiateManagedExtensibilityFramework ( ) : void
MainWindowViewModel ( ) : Common.System
MakeEndGameConfiguration ( Common.Models.RoundResult result ) : Task
PlayNextGameAsync ( ) : Task
ReadConfigurationFromXml ( string path ) : ArenaConfiguration
RestartGame ( ) : void
ResumeGameAsync ( ) : Task

Private Methods

Method Description
CalculateButtonsAvailability ( ) : void
PlayGameAsync ( Arena.ViewModels.GameHistoryEntryViewModel gameHistoryEntry ) : Task
ReadFile ( string path ) : string
SetArenaMessage ( string message ) : Task

Method Details

ApplyConfiguration() public method

public ApplyConfiguration ( string configFilePath ) : void
configFilePath string
return void

ApplyGameCustomConfiguration() public method

public ApplyGameCustomConfiguration ( string configFilePath ) : void
configFilePath string
return void

AskForCompetitors() public method

public AskForCompetitors ( string gameTypeName, List emptyCompetitors ) : void
gameTypeName string
emptyCompetitors List
return void

InitiateManagedExtensibilityFramework() public method

public InitiateManagedExtensibilityFramework ( ) : void
return void

MainWindowViewModel() public method

public MainWindowViewModel ( ) : Common.System
return Common.System

MakeEndGameConfiguration() public method

public MakeEndGameConfiguration ( Common.Models.RoundResult result ) : Task
result Common.Models.RoundResult
return Task

PlayNextGameAsync() public method

public PlayNextGameAsync ( ) : Task
return Task

ReadConfigurationFromXml() public method

public ReadConfigurationFromXml ( string path ) : ArenaConfiguration
path string
return Arena.Configuration.ArenaConfiguration

RestartGame() public method

public RestartGame ( ) : void
return void

ResumeGameAsync() public method

public ResumeGameAsync ( ) : Task
return Task