Code Cleanup: Assemblies
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user