Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (27 sloc) 0.894 kb
b0309676 »
2009-11-13 added project file for Newtonsoft.Json... tweaked a couple of things
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Web;
a684e3c9 »
2010-05-08 offline data
5 using Ninject;
6 using Ninject.Modules;
5c0f6128 »
2009-12-29 more fixes
7 using Offr;
b0309676 »
2009-11-13 added project file for Newtonsoft.Json... tweaked a couple of things
8 using Offr.Message;
9 using Offr.Query;
73af1370 »
2009-11-25 Fix tag count madness on the front end
10 using Offr.Repository;
b0309676 »
2009-11-13 added project file for Newtonsoft.Json... tweaked a couple of things
11 using Offr.Text;
12
13 namespace twademe
14 {
a684e3c9 »
2010-05-08 offline data
15 public class NinjectKernelConfig : NinjectModule
b0309676 »
2009-11-13 added project file for Newtonsoft.Json... tweaked a couple of things
16 {
17
18 public override void Load()
19 {
20 // use live data
21 Bind<IMessageParser>().To<RegexMessageParser>();
a684e3c9 »
2010-05-08 offline data
22 Bind<IRawMessageProvider>().To<Offr.Twitter.TwitterRawMessageProvider>().InSingletonScope();
23 Bind<IRawMessageReceiver>().To<IncomingMessageProcessor>().InSingletonScope();
5c0f6128 »
2009-12-29 more fixes
24
25 //ugly but it works - since messageRepository also implements
a684e3c9 »
2010-05-08 offline data
26 Bind<IMessageRepository>().To<MessageRepository>().InSingletonScope();
27 Bind<ITagRepository>().To<TagRepository>().InSingletonScope();
3b570661 »
2009-12-27 bit of refactoring to tidy up naming of classes, remove unneeded comp…
28
b0309676 »
2009-11-13 added project file for Newtonsoft.Json... tweaked a couple of things
29 }
30 }
31 }
Something went wrong with that request. Please try again.