Beispiel #1
0
        public void AddConventions(IEnumerable <Type> types, Action <IConvention> addFunction)
        {
            DebugCheck.NotNull(types);
            DebugCheck.NotNull(addFunction);

            foreach (var type in types)
            {
                if (_conventionsTypeFilter.IsConvention(type))
                {
                    addFunction(_conventionsTypeActivator.Activate(type));
                }
            }
        }