Mercurial > altnet-hispano
annotate Agendas/trunk/src/Agendas.Twitter/Writers/TwitterHelper.cs @ 176:c58d26b15759
Merge
author | nelopauselli |
---|---|
date | Mon, 08 Aug 2011 10:13:46 -0300 |
parents | 35498fb9b59b |
children | 9f61e8555114 |
rev | line source |
---|---|
124 | 1 using AltNetHispano.Agendas.Domain; |
2 | |
3 namespace AltNetHispano.Agendas.Twitter.Writers | |
4 { | |
5 public static class TwitterHelper | |
6 { | |
7 public static string GetPonente(Persona ponente) | |
8 { | |
9 if (!string.IsNullOrWhiteSpace(ponente.Twitter)) | |
10 return "@" + ponente.Twitter; | |
11 return ponente.Nombre; | |
12 } | |
13 } | |
14 } |