Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Blog/Impl/PublicarReunionPostWriter.cs @ 65:ebce59b45b50
Agregado de version inicial del publicador para el blog
author | ROWIES@ardejorxp.inworx.corp |
---|---|
date | Tue, 17 May 2011 18:04:56 -0300 |
parents | |
children | c7264bfc4b71 |
comparison
equal
deleted
inserted
replaced
62:c40b97bbed01 | 65:ebce59b45b50 |
---|---|
1 using System; | |
2 using System.Globalization; | |
3 using Agendas.Blog.Properties; | |
4 using AltNetHispano.Agendas.Domain; | |
5 | |
6 namespace Agendas.Blog.Impl | |
7 { | |
8 public class PublicarReunionPostWriter : PostWriter | |
9 { | |
10 protected override string GetTitle(Evento evento) | |
11 { | |
12 return string.Format(CultureInfo.InvariantCulture, Resources.VAN_Publicacion_Title, | |
13 string.Empty, //# de VAN en el historial TODO | |
14 evento.Ponente.Nombre //Nombre y apellido del ponente | |
15 | |
16 ); | |
17 } | |
18 | |
19 protected override string GetBody(Evento evento) | |
20 { | |
21 return string.Format(CultureInfo.InvariantCulture, Resources.VAN_Realizacion_Body, | |
22 getUrlPublicacionEnWiki(evento), //Url al video publicado en la wiki | |
23 GetNombreUsuario(evento) //Usuario que postea en el blog | |
24 ); | |
25 } | |
26 | |
27 private string getUrlPublicacionEnWiki(Evento evento) | |
28 { | |
29 //TODO | |
30 throw new NotImplementedException(); | |
31 } | |
32 } | |
33 } |