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