Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Domain/Ponente.cs @ 54:3059a5f8930f
Code cleanup
author | nelopauselli |
---|---|
date | Sat, 14 May 2011 13:01:24 -0300 |
parents | 3c5657d99727 |
children | 65bbcdd5d357 |
comparison
equal
deleted
inserted
replaced
53:d149bfea3892 | 54:3059a5f8930f |
---|---|
1 using System; | 1 using System; |
2 | 2 |
3 namespace AltNetHispano.Agendas.Domain | 3 namespace AltNetHispano.Agendas.Domain |
4 { | 4 { |
5 public class Ponente { | 5 public class Ponente |
6 public Ponente(string nombre, string mail, string twitter, string blog) | 6 { |
7 : this(nombre) | 7 public Ponente(string nombre, string mail, string twitter, string blog) |
8 { | 8 : this(nombre) |
9 Mail = mail; | 9 { |
10 Twitter = twitter; | 10 Mail = mail; |
11 Blog = blog; | 11 Twitter = twitter; |
12 } | 12 Blog = blog; |
13 } | |
13 | 14 |
14 public Ponente(string nombre) | 15 public Ponente(string nombre) |
15 { | 16 { |
16 Id = Guid.NewGuid(); | 17 Id = Guid.NewGuid(); |
17 Nombre = nombre; | 18 Nombre = nombre; |
18 } | 19 } |
19 | 20 |
20 public Guid Id { get; private set; } | 21 public Guid Id { get; private set; } |
21 | 22 |
22 public string Nombre { get; private set; } | 23 public string Nombre { get; private set; } |
23 | 24 |
24 public string Mail { get; private set; } | 25 public string Mail { get; private set; } |
25 | 26 |
26 public string Twitter { get; private set; } | 27 public string Twitter { get; private set; } |
27 | 28 |
28 public string Blog { get; private set; } | 29 public string Blog { get; private set; } |
29 | |
30 } | 30 } |
31 } | 31 } |