示例#1
0
 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));
 }
示例#2
0
 private bool EnterCommandCanExecute(object obj)
 {
     return(!string.IsNullOrEmpty(InvestmentTitle) && RegexManager.IsTextUnsignedDouble(Principal));
 }