main
 1using System;
 2using gorilla.commons.infrastructure.thirdparty.Castle.Windsor.Configuration;
 3using gorilla.commons.utility;
 4
 5namespace MoMoney.boot.container
 6{
 7    public class ComponentExclusionSpecificationImplementation : ComponentExclusionSpecification
 8    {
 9        public bool is_satisfied_by(Type type)
10        {
11            return type.has_no_interfaces()
12                .or(type.subclasses_form())
13                .or(type.is_an_implementation_of_dependency_registry())
14                .or(type.is_an_entity())
15                .or(type.is_an_interface())
16                .or(type.is_abstract())
17                .is_satisfied_by(type);
18        }
19    }
20}