Mercurial > altnet-hispano
view Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs @ 55:39f5258ebdcf
Agregando referencias con NuGet
author | nelopauselli |
---|---|
date | Mon, 16 May 2011 20:10:45 -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())); } } }