annotate Agendas/trunk/src/Agendas.Factories/AgendaFactory.cs @ 15:08b9e96132a5

Persistimos los eventos de la agenda
author nelo@MTEySS.neluz.int
date Mon, 14 Mar 2011 00:14:09 -0300
parents
children 74eb4577d447
rev   line source
15
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
1 using Agendas.Repositories.Memory;
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
2 using AltNetHispano.Agendas.Domain;
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
3
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
4 namespace Agendas.Factories
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
5 {
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
6 public static class AgendaFactory
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
7 {
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
8 private static readonly Agenda Agenda = new Agenda(null, null, null, new EventoRepository());
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
9
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
10 public static Agenda GetAgenda()
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
11 {
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
12 return Agenda;
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
13 }
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
14 }
08b9e96132a5 Persistimos los eventos de la agenda
nelo@MTEySS.neluz.int
parents:
diff changeset
15 }