annotate Agendas/trunk/src/Agendas.Repositories.Memory/RepositoryBase.cs @ 7:deee2ca97f5b

Se modificó Agenda para exponer los eventos a través de métodos y no a través de propiedades. (Servicio de Negocios vs Objeto Persistente).
author juanjose.montesdeocaarbos
date Tue, 08 Feb 2011 07:56:53 -0300
parents 49b572535156
children 475be11edf56
rev   line source
4
49b572535156 proponer van
nelopauselli
parents:
diff changeset
1 using System;
49b572535156 proponer van
nelopauselli
parents:
diff changeset
2 using System.Collections.Generic;
49b572535156 proponer van
nelopauselli
parents:
diff changeset
3
49b572535156 proponer van
nelopauselli
parents:
diff changeset
4 namespace Agendas.Repositories.Memory
49b572535156 proponer van
nelopauselli
parents:
diff changeset
5 {
49b572535156 proponer van
nelopauselli
parents:
diff changeset
6 public class RepositoryBase<T>
49b572535156 proponer van
nelopauselli
parents:
diff changeset
7 {
49b572535156 proponer van
nelopauselli
parents:
diff changeset
8 protected static readonly IDictionary<Guid, T> Objects = new Dictionary<Guid, T>();
49b572535156 proponer van
nelopauselli
parents:
diff changeset
9 }
49b572535156 proponer van
nelopauselli
parents:
diff changeset
10 }