CQRSalad.Dispatching.TypesScanning.AssemblyTypesProvider.GetTypes C# (CSharp) Method

GetTypes() public method

public GetTypes ( ) : IEnumerable
return IEnumerable
        public IEnumerable<TypeInfo> GetTypes()
        {
            List<TypeInfo> types = new List<TypeInfo>();
            foreach (AssemblyScanningRule rule in _rules)
            {
                types.AddRange(rule.ScanTypes());
            }
            return types;
        }
    }