# HG changeset patch # User Nelo@Kenia.neluz.int # Date 1307529194 10800 # Node ID a456eb519e23b85dd09742b808ce77d7ccde569e # Parent 6bd9be78caa09289b94448a02ccc876a6c028a0e Lanzando twitts desde el sitio con la cuenta de AltNetHispanoDESA diff -r 6bd9be78caa0 -r a456eb519e23 Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs --- a/Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs Tue Jun 07 23:21:07 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs Wed Jun 08 07:33:14 2011 -0300 @@ -1,9 +1,9 @@ -using System; -using Agendas.NHibernate; +using Agendas.NHibernate; using AltNetHispano.Agendas.Domain; using AltNetHispano.Agendas.Domain.Repositories; using AltNetHispano.Agendas.Domain.Services; using AltNetHispano.Agendas.Repositories.NHibernate; +using AltNetHispano.Agendas.Twitter; using NHibernate; @@ -16,7 +16,10 @@ public static Agenda GetAgenda() { ISessionFactory sessionFactory = NhHelper.GetSessionFactory(); - return _agenda ?? (_agenda = new Agenda(null, new EventoRepository(sessionFactory), new PersonaRepository(sessionFactory))); + return _agenda ?? + (_agenda = + new Agenda(new TwitterPublicador(), new EventoRepository(sessionFactory), + new PersonaRepository(sessionFactory))); } public static IPersonaRepository GetPersonaRepository() diff -r 6bd9be78caa0 -r a456eb519e23 Agendas/trunk/src/Agendas.Factories/Agendas.Factories.csproj --- a/Agendas/trunk/src/Agendas.Factories/Agendas.Factories.csproj Tue Jun 07 23:21:07 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Factories/Agendas.Factories.csproj Wed Jun 08 07:33:14 2011 -0300 @@ -61,6 +61,10 @@ {0973DF44-3B90-4D2A-B579-C64C93B6C853} Agendas.Repositories.NHibernate + + {D8DA7ED2-A274-4DF6-9DD2-A9DC65F4C2F5} + Agendas.Twitter +