annotate 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
rev   line source
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
1 using System;
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
2
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
3 namespace AltNetHispano.Agendas.Domain
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
4 {
54
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
5 public class Ponente
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
6 {
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
7 public Ponente(string nombre, string mail, string twitter, string blog)
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
8 : this(nombre)
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
9 {
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
10 Mail = mail;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
11 Twitter = twitter;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
12 Blog = blog;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
13 }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
14
54
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
15 public Ponente(string nombre)
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
16 {
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
17 Id = Guid.NewGuid();
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
18 Nombre = nombre;
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
19 }
38
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
20
54
3059a5f8930f Code cleanup
nelopauselli
parents: 38
diff changeset
21 public Guid Id { get; private set; }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
22
38
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
23 public string Nombre { get; private set; }
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
24
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
25 public string Mail { get; private set; }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
26
38
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
27 public string Twitter { get; private set; }
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
28
3c5657d99727 Cambio de setters de las propiedades a private
nelo@MTEySS.neluz.int
parents: 24
diff changeset
29 public string Blog { get; private set; }
24
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
30 }
41b283d27e3e Ponentes como entidad
nelo@MTEySS.neluz.int
parents:
diff changeset
31 }