Example #1
0
        private void DoMineDeposit(IStaticObject deposit, IMineDepositResult openResult)
        {
            var e = new MineDepositEventArgs(deposit, openResult);

            DepositMined?.Invoke(this, e);
        }
Example #2
0
 public MineDepositEventArgs(IStaticObject deposit, [NotNull] IMineDepositResult result)
 {
     Deposit = deposit ?? throw new ArgumentNullException(nameof(deposit));
     Result  = result ?? throw new ArgumentNullException(nameof(result));
 }