public CoinPusherGameCommandEditorWindowViewModel(CoinPusherGameCommandModel command)
     : base(command)
 {
     this.MinimumAmountForPayout  = command.MinimumAmountForPayout;
     this.ProbabilityPercentage   = command.ProbabilityPercentage;
     this.PayoutMinimumPercentage = command.PayoutMinimumPercentage;
     this.PayoutMaximumPercentage = command.PayoutMaximumPercentage;
     this.SuccessCommand          = command.SuccessCommand;
     this.FailureCommand          = command.FailureCommand;
     this.StatusArgument          = command.StatusArgument;
     this.StatusCommand           = command.StatusCommand;
 }
        public override async Task UpdateExistingCommand(CommandModelBase command)
        {
            await base.UpdateExistingCommand(command);

            CoinPusherGameCommandModel gCommand = (CoinPusherGameCommandModel)command;

            gCommand.MinimumAmountForPayout  = this.MinimumAmountForPayout;
            gCommand.ProbabilityPercentage   = this.ProbabilityPercentage;
            gCommand.PayoutMinimumPercentage = this.PayoutMinimumPercentage;
            gCommand.PayoutMaximumPercentage = this.PayoutMaximumPercentage;
            gCommand.SuccessCommand          = this.SuccessCommand;
            gCommand.FailureCommand          = this.FailureCommand;
            gCommand.StatusArgument          = this.StatusArgument;
            gCommand.StatusCommand           = this.StatusCommand;
        }