protected AdjustIncumbentsTabItem(UpdateElectionsPage page) : base(page, GroupName) { }
internal AdjustIncumbentsListTabItem(UpdateElectionsPage page) : base(page) { }
private AddOfficesTabItem(UpdateElectionsPage page) : base(page, GroupName) { }
internal ReinstateIncumbentsListTabItem(UpdateElectionsPage page) : base(page) { }
internal MasterOnlyElectionToCopyTabItem(UpdateElectionsPage page) : base(page) { }
private static StateDefaultsTabItem[] GetTabInfo(UpdateElectionsPage page) { var changeInfoTabInfo = new[] { new StateDefaultsTabItem(page) { Column = "ElectionAdditionalInfo", Description = "Additional Election Information" }, new StateDefaultsTabItem(page) { Column = "BallotInstructions", Description = "Special Ballot Instructions" }, new StateDefaultsTabItem(page) { Column = "RegistrationDeadline", Description = "Registration Deadline", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "EarlyVotingBegin", Description = "Early Voting Begin Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "EarlyVotingEnd", Description = "Early Voting End Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "MailBallotBegin", Description = "Mail Ballot Begin Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "MailBallotEnd", Description = "Mail Ballot End Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "MailBallotDeadline", Description = "Mail Ballot Must Be Received By", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "AbsenteeBallotBegin", Description = "Absentee Ballot Begin Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "AbsenteeBallotEnd", Description = "Absentee Ballot End Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new StateDefaultsTabItem(page) { Column = "AbsenteeBallotDeadline", Description = "Absentee Ballot Must Be Received By", ConvertFn = ToDateTime, Validator = ValidateDateOptional } }; foreach (var item in changeInfoTabInfo) { item.InitializeItem(page); } InitializeGroup(page, GroupName); return(changeInfoTabInfo); }
internal MasterOnlyCreateGeneralTabItem(UpdateElectionsPage page) : base(page) { }
protected IdentifyWinnersBetaTabItem(UpdateElectionsPage page) : base(page, GroupName) { }
internal MasterOnlyRunoffAdvancersTabItem(UpdateElectionsPage page) : base(page) { }
internal MasterOnlyDeleteElectionTabItem(UpdateElectionsPage page) : base(page) { }
private static ChangeDeadlinesTabItem[] GetTabInfo(UpdateElectionsPage page) { var changeDeadlinesTabInfo = new[] { new ChangeDeadlinesElectionOrderTabItem(page) { Column = "ElectionOrder", Description = "Election Order" }, new ChangeDeadlinesTabItem(page) { Column = "RegistrationDeadline", Description = "Registration Deadline", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "EarlyVotingBegin", Description = "Early Voting Begin Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "EarlyVotingEnd", Description = "Early Voting End Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "MailBallotBegin", Description = "Mail Ballot Begin Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "MailBallotEnd", Description = "Mail Ballot End Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "MailBallotDeadline", Description = "Mail Ballot Must Be Received By", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "AbsenteeBallotBegin", Description = "Absentee Ballot Begin Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "AbsenteeBallotEnd", Description = "Absentee Ballot End Date", ConvertFn = ToDateTime, Validator = ValidateDateOptional }, new ChangeDeadlinesTabItem(page) { Column = "AbsenteeBallotDeadline", Description = "Absentee Ballot Must Be Received By", ConvertFn = ToDateTime, Validator = ValidateDateOptional } }; foreach (var item in changeDeadlinesTabInfo) { item.InitializeItem(page); } InitializeGroup(page, GroupName); return(changeDeadlinesTabInfo); }
protected ChangeDeadlinesTabItem(UpdateElectionsPage page) : base(page, GroupName) { }
internal ChangeDeadlinesElectionOrderTabItem(UpdateElectionsPage page) : base(page) { }
private SelectBallotMeasureControlItem(UpdateElectionsPage page) : base(page, GroupName) { }
protected MasterOnlyTabItem(UpdateElectionsPage page) : base(page, GroupName) { }
// ReSharper disable UnusedMember.Local // Invoked via Reflection internal static void Initialize(UpdateElectionsPage page) // ReSharper restore UnusedMember.Local => page._SelectBallotMeasureControlInfo = GetTabInfo(page);
private static MasterOnlyTabItem[] GetTabInfo(UpdateElectionsPage page) { var masterOnlyTabInfo = new[] { new MasterOnlyTabItem(page) { Column = "ElectionDesc", Description = "Election Title", Validator = ValidateDescription, SubTab = MasterOnlySubTab.ChangeDate }, new MasterOnlyElectionDateTabItem(page) { Column = "ElectionDate", Description = "Election Date", ConvertFn = ToDateTime, Validator = ValidateDate, SubTab = MasterOnlySubTab.ChangeDate }, new MasterOnlyTabItem(page) { Column = "ElectionKeyToInclude", Description = "Election to Include", SubTab = MasterOnlySubTab.IncludeElection }, new MasterOnlyElectionToCopyTabItem(page) { Column = "ElectionToCopy", Description = "Election to Copy", SubTab = MasterOnlySubTab.CopyCandidates }, new MasterOnlyPrimaryWinnersCopyTabItem(page) { Column = "PrimaryDateToCopy", Description = "Primary Date to Copy", SubTab = MasterOnlySubTab.CopyPrimaryWinners }, new MasterOnlyPrimaryWinnersCopyTabItem(page) { Column = "EnableCopyPrimaryWinners", Description = "Enable Update", ConvertFn = ToBool, SubTab = MasterOnlySubTab.CopyPrimaryWinners }, new MasterOnlyPrimaryWinnersCopyTabItem(page) { Column = "RunoffDateToCopy", Description = "Runoff Date to Copy", SubTab = MasterOnlySubTab.CopyPrimaryWinners }, new MasterOnlyRunoffAdvancersTabItem(page) { Column = "ElectionDateToCopy", Description = "Election Date to Copy", SubTab = MasterOnlySubTab.CopyRunoffAdvancers }, new MasterOnlyDeleteElectionTabItem(page) { Column = "DeleteElection", Description = "Delete Election", ConvertFn = ToBool, SubTab = MasterOnlySubTab.DeleteElection }, new MasterOnlyCreateGeneralTabItem(page) { Column = "GeneralElectionDate", Description = "Election Date", SubTab = MasterOnlySubTab.CreateGeneral }, new MasterOnlyCreateGeneralTabItem(page) { Column = "GeneralElectionDesc", Description = "Election Title", Validator = ValidateDescription, SubTab = MasterOnlySubTab.CreateGeneral }, new MasterOnlyCreateGeneralTabItem(page) { Column = "GeneralPastElection", Description = "Allow Past Election", SubTab = MasterOnlySubTab.CreateGeneral }, new MasterOnlyCreateGeneralTabItem(page) { Column = "GeneralIncludePresident", Description = "Include US President", SubTab = MasterOnlySubTab.CreateGeneral }, new MasterOnlyTabItem(page) { Column = "ElectionStatus", Description = "Status Notes", SubTab = MasterOnlySubTab.StatusNotes } }; foreach (var item in masterOnlyTabInfo) { item.InitializeItem(page); } InitializeGroup(page, GroupName); return(masterOnlyTabInfo); }
internal IdentifyWinnersBetaOfficeTreeTabItem(UpdateElectionsPage page) : base(page) { }
public SelectElectionControlItem(UpdateElectionsPage page, string groupName) : base(page, groupName) { }
internal MasterOnlyPrimaryWinnersCopyTabItem(UpdateElectionsPage page) : base(page) { }
private StateDefaultsTabItem(UpdateElectionsPage page) : base(GroupName) { _Page = page; }