Example #1
0
        private bool ValidateStatType(IStatistic statistic, IStatisticModifier modifier)
        {
            if (string.IsNullOrEmpty(modifier.StatisticType))
            {
                return(true);
            }
            var type = Reflector.FindType(modifier.StatisticType);

            return(statistic.Implements(type));
        }