Example #1
0
 public ActionBarButtonImageChangeEventListener(IActionBarButtonStateChangedEventSubscribable subscriptionService,
                                                [NotNull] ILog logger,
                                                [KeyFilter(UnityUIRegisterationKey.ActionBarRow1)][NotNull] IUIActionBarRow actionBarRow,
                                                [NotNull] IContentIconDataCollection contentIconCollection,
                                                [NotNull] ISpellDataCollection spellDataCollection)
     : base(subscriptionService, false, logger)
 {
     ActionBarRow          = actionBarRow ?? throw new ArgumentNullException(nameof(actionBarRow));
     ContentIconCollection = contentIconCollection ?? throw new ArgumentNullException(nameof(contentIconCollection));
     SpellDataCollection   = spellDataCollection ?? throw new ArgumentNullException(nameof(spellDataCollection));
 }
Example #2
0
 public LoadDefaultSpellDataContentInitializable([NotNull] ISpellEntryDataServiceClient spellDataService, [NotNull] ISpellDataCollection spellDataCollection)
 {
     SpellDataService    = spellDataService ?? throw new ArgumentNullException(nameof(spellDataService));
     SpellDataCollection = spellDataCollection ?? throw new ArgumentNullException(nameof(spellDataCollection));
 }