public MessageManager(FetchData fetch, SignManager sign) { FetchReqData = fetch; SignMan = sign; }
public SignManager(FetchData fetch) { FetchReqData = fetch; }
private void Init() { Console.WriteLine("Init data"); _config = new ConfigInfo(); Console.WriteLine("> Read config file sucessful."); _menu = new Menu(); Console.WriteLine("> Read Menu info sucessful."); _pluginContainer = new Dictionary<string,IPlugin>(); _fetchData = new FetchData(_config.Username, _config.Password, _config.ConsummerKey, _config.ConsummerSecret); _signManager = new SignManager(_fetchData); _messManager = new MessageManager(_fetchData, _signManager); }