Code Cleanup: Assemblies

This commit is contained in:
Rick Falkvinge
2014-12-04 23:55:03 +01:00
parent 93abb92c67
commit fa3b05da6f
458 changed files with 13969 additions and 13709 deletions
+11 -10
View File
@@ -3,18 +3,18 @@ using Swarmops.Basic.Interfaces;
namespace Swarmops.Basic.Types
{
public class BasicElection: IHasIdentity
public class BasicElection : IHasIdentity
{
public BasicElection (int electionId, string name, int geographyId, DateTime date)
public BasicElection(int electionId, string name, int geographyId, DateTime date)
{
this.ElectionId = electionId;
this.Name = name;
this.GeographyId = geographyId;
this.Date = date;
ElectionId = electionId;
Name = name;
GeographyId = geographyId;
Date = date;
}
public BasicElection (BasicElection original):
this (original.ElectionId, original.Name, original.GeographyId, original.Date)
public BasicElection(BasicElection original) :
this(original.ElectionId, original.Name, original.GeographyId, original.Date)
{
// empty copy ctor
}
@@ -23,9 +23,10 @@ namespace Swarmops.Basic.Types
public string Name { get; private set; }
public int GeographyId { get; private set; }
public DateTime Date { get; private set; }
public int Identity
{
get { return this.ElectionId; }
get { return ElectionId; }
}
}
}
}