public InitializeApplicationMenuItemCommand(IStarFisherContext context, IGlobalAddressList globalAddressList, IConfigurationStorage configurationStorage) : base(context, CommandTitle) { _globalAddressList = globalAddressList ?? throw new ArgumentNullException(nameof(globalAddressList)); _configurationStorage = configurationStorage ?? throw new ArgumentNullException(nameof(configurationStorage)); }
public TopLevelMenuCommand(IStarFisherContext context, IReadOnlyList <IMenuItemCommand> menuItemCommands) : base(context, CommandTitle) { _menuItemCommands = menuItemCommands ?? throw new ArgumentNullException(nameof(menuItemCommands)); if (_menuItemCommands.Count == 0) { throw new ArgumentException(nameof(menuItemCommands)); } }
public Configuration(IStarFisherContext context) : this() { if (context == null) { throw new ArgumentNullException(nameof(context)); } StarAwardsDirectoryPath = context.StarAwardsDirectoryPath.Value; AwardsPeriod = context.AwardsPeriod.Value; EiaCoChair1 = Convert(context.EiaCoChair1); EiaCoChair2 = Convert(context.EiaCoChair2); HrPeople = Convert(context.HrPeople); LuncheonPlannerPeople = Convert(context.LuncheonPlannerPeople); CertificatePrinterPerson = Convert(context.CertificatePrinterPerson); }
protected MenuItemCommandBase(IStarFisherContext context, string title, string successMessage = @"Operation completed successfully") : base(context) { if (string.IsNullOrEmpty(title)) { throw new ArgumentException(nameof(title)); } if (string.IsNullOrEmpty(successMessage)) { throw new ArgumentException(nameof(successMessage)); } Title = title; _successMessage = successMessage; }
public RemoveNominationMenuItemCommand(IStarFisherContext context) : base(context, CommandTitle) { }
public CreateAwardVotingKeyMenuItemCommand(IStarFisherContext context, IExcelFileFactory excelFileFactory) : base(context, CommandTitle, GetSuccessMessage(context)) { _excelFileFactory = excelFileFactory ?? throw new ArgumentNullException(nameof(excelFileFactory)); }
public GetStarAwardsDirectoryPathCommand(IStarFisherContext context) : base(context) { }
public LoadNominationsFromSurveyExportMenuItemCommand(IStarFisherContext context) : base(context, CommandTitle) { }
public SelectAwardWinnerMenuItemCommand(IStarFisherContext context) : base(context, CommandTitle) { }
public FixNomineesMenuItemCommand(IStarFisherContext context, IGlobalAddressList globalAddressList) : base(context, CommandTitle) { _globalAddressList = globalAddressList ?? throw new ArgumentNullException(nameof(globalAddressList)); }
public GetQuarterCommand(IStarFisherContext context) : base(context) { }
public FixNomineeEmailAddressesCommand(IStarFisherContext context, IGlobalAddressList globalAddressList) : base(context) { _globalAddressList = globalAddressList ?? throw new ArgumentNullException(nameof(globalAddressList)); }
public DisqualifyNomineesMenuItemCommand(IStarFisherContext context) : base(context, CommandTitle) { }
protected InitializeCommandBase(IStarFisherContext context) : base(context) { }
public FixNomineeOfficeLocationsCommand(IStarFisherContext context) : base(context) { }
protected CommandBase(IStarFisherContext context) { Context = context ?? StarFisherContext.Instance; }
public GetYearCommand(IStarFisherContext context) : base(context) { }
public CreateHumanResourceNomineeValidationEmailMenuItemCommand(IStarFisherContext context, IEmailFactory emailFactory) : base(context, CommandTitle, SuccessMessage) { _emailFactory = emailFactory ?? throw new ArgumentNullException(nameof(emailFactory)); }
public SendNominationNotificationEmailsMenuItemCommand(IStarFisherContext context, IMailMergeFactory mailMergeFactory) : base(context, CommandTitle, SuccessMessage) { _mailMergeFactory = mailMergeFactory ?? throw new ArgumentNullException(nameof(mailMergeFactory)); }
public CreateVotingKeyEmailMenuItemCommand(IStarFisherContext context, IEmailFactory emailFactory) : base(context, CommandTitle, SuccessMessage) { _emailFactory = emailFactory ?? throw new ArgumentNullException(nameof(emailFactory)); }
public ExitCommand(IStarFisherContext context) : base(context, CommandTitle) { }
public FixNomineeWriteUpsMenuItemCommand(IStarFisherContext context) : base(context, CommandTitle) { }
public CreateStarAwardsMemoArtifactsMenuItemCommand(IStarFisherContext context, IStarAwardsMemoHelper memoHelper) : base(context, CommandTitle, GetSuccessMessage(context)) { _memoHelper = memoHelper ?? throw new ArgumentNullException(nameof(memoHelper)); }
public GetPersonNameCommand(IStarFisherContext context, IGlobalAddressList globalAddressList) : base(context) { _globalAddressList = globalAddressList ?? throw new ArgumentNullException(nameof(globalAddressList)); }
public CreateAwardVotingGuideMenuItemCommand(IStarFisherContext context, IMailMergeFactory mailMergeFactory) : base(context, CommandTitle, GetSuccessMessage(context)) { _mailMergeFactory = mailMergeFactory ?? throw new ArgumentNullException(nameof(mailMergeFactory)); }