コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Welcome to The AWESOME Karmakracy URL Dispatcher!!!!!!!!!!");

            var connector = new KarmakracyConnector(Properties.Settings.Default);
            var keyExtractor = new KeyWordExtractor();
            var kcyService = new KarmakracyService(connector, keyExtractor);

            var plainTextParser = new PlainTextParser(kcyService);
            var daemon = new MailDaemon(plainTextParser, kcyService, Properties.Settings.Default);

            daemon.Start();

            Console.ReadLine();
        }
コード例 #2
0
 public MailDaemon(PlainTextParser parser, KarmakracyService service, IKcyDispatcherSettings settings)
 {
     this.parser = parser;
     this.service = service;
     this.settings = settings;
 }