Arena.Commands.MenuItemCommands.GameRulesCommand.Execute C# (CSharp) Method

Execute() public method

public Execute ( object parameter = null ) : void
parameter object
return void
        public override void Execute(object parameter = null)
        {
            using (var sw = new StreamWriter("GameRules.html"))
            {
                sw.Write(_viewModel.Game.GetGameRules());
            }

            System.Diagnostics.Process.Start("GameRules.html");
        }