public FishingEffectManager( IGlobalKernel kernel, ConditionsCalculator conditionsCalculator, FishingEffectEntry entry ) { this.ConditionsCalculator = conditionsCalculator ?? throw new ArgumentNullException(nameof(conditionsCalculator)); this.Entry = entry ?? throw new ArgumentNullException(nameof(entry)); this.Effect = this.Entry.CreateEffect(kernel); }
public ProxiedBindingRoot(IGlobalKernel globalKernel, IKernel childKernel) { this.globalKernel = globalKernel ?? throw new ArgumentNullException(nameof(globalKernel)); this.childKernel = childKernel ?? throw new ArgumentNullException(nameof(childKernel)); }