annotate Agendas/trunk/src/Agendas.Domain/Track.cs @ 58:37d99d239cae

Cambiando constantes por enum en el track de cambios en Evento
author nelopauselli
date Mon, 16 May 2011 20:24:50 -0300
parents 3d9e6d56d903
children 963b71ea6028
rev   line source
57
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
1 namespace AltNetHispano.Agendas.Domain
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
2 {
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
3 public class Track
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
4 {
58
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
5 public Track(Accion accion)
57
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
6 {
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
7 Usuario = IdentityContext.GetUserName();
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
8 Accion = accion;
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
9 }
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
10
58
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
11 public Accion Accion { get; private set; }
57
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
12 protected string Usuario { get; private set; }
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
13 }
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
14
58
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
15 public enum Accion
57
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
16 {
58
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
17 Proponer = 1,
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
18 Publicar = 2,
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
19 Modificar = 3,
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
20 CambiarTitulo = 4,
37d99d239cae Cambiando constantes por enum en el track de cambios en Evento
nelopauselli
parents: 57
diff changeset
21 Realizar = 5
57
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
22 }
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
23
3d9e6d56d903 Refactoring del track de cambios de un evento
nelopauselli
parents:
diff changeset
24 }