public YouDao(List<string> p) { toFile = new ToFile(); for (int i = 1; i < p.Count; i++) { transTxt += p[i] + " "; } }
public ChinaBank(List<string> Params) { tofile = new ToFile(); //default this is AUD country = "aus"; if (Params.Count > 1) { country = Params[1].ToLower(); CountryCode = GetCountryCode(country); } }
public SaveSuggestions() { tofile = new ToFile(); }
/// <summary> /// Text message: UserId, UserMessage, MessageType /// Event : EventKey, WXEvent, MessageType /// </summary> /// <param name="uId"></param> /// <param name="uMsg"></param> /// <param name="msgType"></param> public MessageService(string uId, string uMsg, string msgType) { toFile = new ToFile(); switch (msgType) { case "text": userId = uId; msg = uMsg.ToLower(); if (msg.Length > 0) { Parameters = new List<string>(); InitParameters(); vc = new ValidCheck(uId, Parameters); cg = new category(Parameters); } break; case "event": toFile.WriteTxt("Write data to event"); msg = uMsg.ToLower(); break; } }
public DataService() { tofile = new ToFile(); }