Beispiel #1
0
 public MessageManager(FetchData fetch, SignManager sign)
 {
     FetchReqData = fetch;
     SignMan      = sign;
 }
Beispiel #2
0
 public SignManager(FetchData fetch)
 {
     FetchReqData = fetch;
 }
 public MessageManager(FetchData fetch, SignManager sign)
 {
     FetchReqData = fetch;
     SignMan = sign;
 }
        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);
        }