Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Factor"/> class.
        /// </summary>
        public FightingStyleRankFactor(FightingStyleRank rank)
        {
            if (rank == null)
            {
                throw new ArgumentNullException("FightingStyleRank argument cannot be null.");
            }

            _rank = rank;
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FightingStyleRankFactor"/> class.
 /// </summary>
 public FightingStyleRankFactor()
 {
     _rank = null;
 }