Esempio n. 1
0
        public void AnalyseThis()
        {
            var classAnalyser = new ClassAnalyser();

            _typeInfo = classAnalyser.Process(new List <Assembly> {
                typeof(LibraTests).Assembly
            });
        }
Esempio n. 2
0
        public void SetUp()
        {
            _allTypes.Clear();
            var types = ClassAnalyser.ExtractTypes(new List <Assembly> {
                typeof(LibraTests).Assembly
            });

            _allTypes.AddRange(types.Where(ClassAnalyser.IsPart).ToList());
            _allTypes.AddRange(types.Where(ClassAnalyser.IsResource).ToList());
        }