private bool EnterCommandCanExecute(object obj) { return(InvestInfo.CurrentTradeType != TradeType.DEFAULT && _isNotCaptialTradeMode && RegexManager.IsNotBlank(SelectedCoin) && RegexManager.IsTextUnsignedDouble(AmountText) && RegexManager.IsNotBlank(AmountText) && RegexManager.IsTextUnsignedDouble(UnitPriceText) && RegexManager.IsNotBlank(UnitPriceText) && RegexManager.IsTextUnsignedDouble(AFeeText) && RegexManager.IsNotBlank(AFeeText) && RegexManager.IsTextUnsignedDouble(RFeeText) && RegexManager.IsNotBlank(RFeeText)); }
private bool StartCheckCanExecute(object obj) { return(!IsInProgress && RegexManager.IsUnsignedInt(ProductID) && RegexManager.IsNotBlank(ProductID) && ScheduleID != null && CookieText != null && RegexManager.IsUnsignedInt(Qty)); }