public void WriteToCSVFile(ITip tipToWrite) { if (tipToWrite == null) { logger.Warn("Article in Write To CSV was null"); return; } string csvTextLine = GetTextLineFromArticle(tipToWrite); WriteTextToFile(csvTextLine, true); }
public string GetTextLineFromArticle(ITip tip) { return string.Format(CSVConstants.CSVLine, tip.TipId, tip.CurrentAccount, tip.LastBet, tip.LastMatch, toDateTimeFormat(tip.MatchTime), toDateTimeFormat(tip.LastUpdate), tip.NextMatch, tip.Plattform, tip.ClubName); }
public GallioTipProxy(ITmi tmi) { target = ProxyHelper.GetTargetFactory().CreateTip(tmi); }