public ConsoleCommandsSetup( IModHelper helper, IMonitor monitor, FishingApi fishingApi, IJsonProvider jsonProvider, [ContentSource(ContentSource.ModFolder)] IAssetProvider assetProvider ) { this.helper = helper ?? throw new ArgumentNullException(nameof(helper)); this.monitor = monitor ?? throw new ArgumentNullException(nameof(monitor)); this.fishingApi = fishingApi ?? throw new ArgumentNullException(nameof(fishingApi)); this.jsonProvider = jsonProvider ?? throw new ArgumentNullException(nameof(jsonProvider)); this.assetProvider = assetProvider ?? throw new ArgumentNullException(nameof(assetProvider)); }
public FishingEffectApplier(IModHelper helper, FishingApi fishingApi) { this.helper = helper ?? throw new ArgumentNullException(nameof(helper)); this.fishingApi = fishingApi ?? throw new ArgumentNullException(nameof(fishingApi)); }
public ConsoleCommandsSetup(IModHelper helper, IMonitor monitor, FishingApi fishingApi) { this.helper = helper ?? throw new ArgumentNullException(nameof(helper)); this.monitor = monitor ?? throw new ArgumentNullException(nameof(monitor)); this.fishingApi = fishingApi ?? throw new ArgumentNullException(nameof(fishingApi)); }