Beispiel #1
0
 public InitializeLearnedSpellsCollectionInitializable([NotNull] ILearnedSpellsCollection learnedSpellsCollection,
                                                       [NotNull] ISpellEntryDataServiceClient spellEntryServiceClient)
 {
     LearnedSpellsCollection = learnedSpellsCollection ?? throw new ArgumentNullException(nameof(learnedSpellsCollection));
     SpellEntryServiceClient = spellEntryServiceClient ?? throw new ArgumentNullException(nameof(spellEntryServiceClient));
 }
Beispiel #2
0
 public LoadDefaultSpellDataContentInitializable([NotNull] ISpellEntryDataServiceClient spellDataService, [NotNull] ISpellDataCollection spellDataCollection)
 {
     SpellDataService    = spellDataService ?? throw new ArgumentNullException(nameof(spellDataService));
     SpellDataCollection = spellDataCollection ?? throw new ArgumentNullException(nameof(spellDataCollection));
 }