/// <summary> /// Roll the dices /// </summary> /// <returns></returns> public int Roll() { var rcr = new RngCryptoRandom(true); ResultRoll = Dices.Aggregate(0, (current, c) => current += c.Roll(rcr)); return(ResultRoll); }
/// <summary> /// Roll the dices /// </summary> /// <returns></returns> public int Roll() { var rcr = new RngCryptoRandom(true); ResultRoll = Dices.Aggregate(0, (current, c) => current += c.Roll(rcr)); return(ResultRoll); }