public ElectionAnalyzerNormal(IAnalyzerFakes fakes, Election election, List<vVoteInfo> voteinfos, List<Ballot> ballots, List<Person> people) : base(fakes, election, people, ballots, voteinfos) { //_locationInfos = locationInfos; }
protected ElectionAnalyzerCore(IAnalyzerFakes fakes) { IsFaked = true; _election = UserSession.CurrentElection; _hub = fakes.FakeHub; SharedDbContext = fakes.DbContext; Savers = new Savers(SharedDbContext); }
protected ElectionAnalyzerCore(IAnalyzerFakes fakes, Election election, List<Person> people, List<Ballot> ballots, List<vVoteInfo> voteinfos) { _election = election; _resultSummary = fakes.ResultSummary; _resultTies = new List<ResultTie>(); _results = new List<Result>(); _people = people; _ballots = ballots; _voteinfos = voteinfos; _votes = voteinfos.Select(vi => new Vote {C_RowId = vi.VoteId}).ToList(); _deleteResult = fakes.RemoveResult; _addResult = fakes.AddResult; _saveChanges = fakes.SaveChanges; _deleteResultTie = fakes.RemoveResultTie; _addResultTie = fakes.AddResultTie; }
public ElectionAnalyzerSingleName(IAnalyzerFakes fakes) //, Election election, List<VoteInfo> voteinfos, List<Ballot> ballots, List<Person> people) : base(fakes)//, election, people, ballots, voteinfos) { }