annotate Agendas/trunk/src/Agendas.Domain/Ponente.cs @ 60:02e163f2ca38

Refactoring de test de crud del evento
author nelopauselli
date Mon, 16 May 2011 21:40:40 -0300
parents 65bbcdd5d357
children cb3f7b47c1f0
rev   line source
56
65bbcdd5d357 Pasando la responsabilidad de generar el Id al repositorio
nelopauselli
parents: 54
diff changeset
1 namespace AltNetHispano.Agendas.Domain
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
2 {
56
65bbcdd5d357 Pasando la responsabilidad de generar el Id al repositorio
nelopauselli
parents: 54
diff changeset
3 public class Ponente : Identificable
54
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
4 {
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
5 public Ponente(string nombre, string mail, string twitter, string blog)
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
6 : this(nombre)
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
7 {
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
8 Mail = mail;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
9 Twitter = twitter;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
10 Blog = blog;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
11 }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
12
54
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
13 public Ponente(string nombre)
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
14 {
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
15 Nombre = nombre;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
16 }
38
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
17
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
18 public string Nombre { get; private set; }
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
19
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
20 public string Mail { get; private set; }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
21
38
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
22 public string Twitter { get; private set; }
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
23
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
24 public string Blog { get; private set; }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
25 }
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
26 }