view Agendas/trunk/src/Agendas.Repositories.Memory/CafeRepository.cs @ 4:49b572535156

proponer van publicar van propuesta comportamiento ante excepcion en publicador
author nelopauselli
date Tue, 08 Feb 2011 00:08:49 -0300
parents 5f007e266509
children
line wrap: on
line source

using System;
using AltNetHispano.Agendas.Domain;
using AltNetHispano.Agendas.Domain.Repositories;

namespace Agendas.Repositories.Memory
{
	public class CafeRepository : EventoRepository, ICafeRepository
	{
		#region ICafeRepository Members

		public Cafe Get(Guid vanId)
		{
			Evento evento;
			return Objects.TryGetValue(vanId, out evento) ? evento as Cafe : null;
		}

		#endregion
	}
}