comparison Agendas/trunk/src/Agendas.Blog/Impl/PostWriterFactory.cs @ 77:a300394dbabe

cambios minimos en el publicador del blog por la reestructuracion de estados de los eventos
author jorge.rowies
date Tue, 24 May 2011 14:40:23 -0300
parents bc46e7426c80
children 3027c64344bd
comparison
equal deleted inserted replaced
76:926bd1cdb98f 77:a300394dbabe
6 { 6 {
7 public IPostWriter GetPostWriter(Accion accion) 7 public IPostWriter GetPostWriter(Accion accion)
8 { 8 {
9 switch (accion) 9 switch (accion)
10 { 10 {
11 case Accion.Agendar:
12 return new AgendarReunionPostWriter();
11 case Accion.Publicar: 13 case Accion.Publicar:
12 return new RealizarReunionPostWriter();
13 case Accion.Agendar:
14 return new PublicarReunionPostWriter(); 14 return new PublicarReunionPostWriter();
15 default: 15 default:
16 return new NullObjectPostWriter(); 16 return new NullObjectPostWriter();
17 } 17 }
18 } 18 }