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 EnterCommandCanExecute(object obj) { return(!string.IsNullOrEmpty(InvestmentTitle) && RegexManager.IsTextUnsignedDouble(Principal)); }