Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Domain/EventoState.cs @ 140:3639803112c6
Refactoring de la relación entre Evento y Estado
author | nelopauselli |
---|---|
date | Fri, 29 Jul 2011 16:30:53 -0300 |
parents | 53bcd338542b |
children |
comparison
equal
deleted
inserted
replaced
139:18e5a78186e4 | 140:3639803112c6 |
---|---|
1 using System; | 1 using System.Collections.Generic; |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 | 2 |
6 namespace AltNetHispano.Agendas.Domain | 3 namespace AltNetHispano.Agendas.Domain |
7 { | 4 { |
8 public abstract class EventoState | 5 public abstract class EventoState |
9 { | 6 { |
10 public abstract void Promover(Evento evento, Accion accion); | 7 public abstract void Promover(Evento evento, Accion accion); |
11 | 8 |
12 public abstract string GetDescripcion(); | 9 public abstract string Descripcion { get; } |
13 | 10 |
14 public abstract bool PuedePromover(Accion accion); | 11 public abstract bool PuedePromover(Accion accion); |
15 } | 12 } |
16 } | 13 } |