public StockSplitInfo Double2Int(StockSplitInfoView split) { if (split == null) return null; StockSplitInfo field = new StockSplitInfo(); field.CashDividend = split.CashDividend; field.StockDividend = split.StockDividend; field.RightsOffering = split.RightsOffering; field.RightsOfferingPrice = split.RightsOfferingPrice; field.PreClose = split.PreClose; //field.AdjustingFactor = split.AdjustingFactor; return field; }
public StockSplitInfoView Int2Double(StockSplitInfo split) { if (split == null) return null; StockSplitInfoView field = new StockSplitInfoView(); field.CashDividend = split.CashDividend; field.StockDividend = split.StockDividend; field.RightsOffering = split.RightsOffering; field.RightsOfferingPrice = split.RightsOfferingPrice; field.PreClose = split.PreClose; field.AdjustingFactor = split.AdjustingFactor; return field; }
public StockSplitInfo Double2Int(StockSplitInfoView split) { if (split == null) { return(null); } var field = new StockSplitInfo(); field.CashDividend = split.CashDividend; field.StockDividend = split.StockDividend; field.RightsOffering = split.RightsOffering; field.RightsOfferingPrice = split.RightsOfferingPrice; field.PreClose = split.PreClose; //field.AdjustingFactor = split.AdjustingFactor; return(field); }