/// <Summary>Base for Importing V1.</Summary> /// <remarks>Need list of people to merge into.</remarks> protected ImportV1Base(TallyJ2dContext db, ImportFile file, XmlDocument xmlDoc, List<Person> people, Action<Person> addPerson, ILogHelper logHelper) { _db = db; _file = file; _xmlDoc = xmlDoc; _people = people; AddPerson = addPerson; _logHelper = logHelper; }
public ImportV1Election(TallyJ2dContext db, ImportFile file, XmlDocument xml, Election election, Location location, Action<Ballot> storeBallot, Action<Vote> storeVote, List<Person> people, Action<Person> addPerson, Action<ResultSummary> storeResultSummary, ILogHelper logHelper ) : base(db, file, xml, people, addPerson, logHelper) { _election = election; _location = location; _storeBallot = storeBallot; _storeVote = storeVote; _storeResultSummary = storeResultSummary; }
public ImportV1Community(TallyJ2dContext db, ImportFile file, XmlDocument xml, List<Person> people, Action<Person> addPerson, ILogHelper logHelper) : base(db, file, xml, people, addPerson, logHelper) { }