private void DoMineDeposit(IStaticObject deposit, IMineDepositResult openResult) { var e = new MineDepositEventArgs(deposit, openResult); DepositMined?.Invoke(this, e); }
public MineDepositEventArgs(IStaticObject deposit, [NotNull] IMineDepositResult result) { Deposit = deposit ?? throw new ArgumentNullException(nameof(deposit)); Result = result ?? throw new ArgumentNullException(nameof(result)); }