Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs @ 65:ebce59b45b50
Agregado de version inicial del publicador para el blog
author | ROWIES@ardejorxp.inworx.corp |
---|---|
date | Tue, 17 May 2011 18:04:56 -0300 |
parents | 3ebe89c88caa |
children | c8099df941bd |
line wrap: on
line source
using AltNetHispano.Agendas.Domain; using AltNetHispano.Agendas.Repositories.Memory; namespace AltNetHispano.Agendas.Factories { public static class AgendaFactory { private static Agenda _agenda; public static Agenda GetAgenda() { return _agenda ?? (_agenda = new Agenda(null, null, new EventoRepository(), new PonenteRepository())); } } }