Example #1
0
        private Service[] GetImplementedServices(ComponentConfigurationElement component)
        {
            Guard.NotNull("component", component);

            return(component.ComponentType
                   .FindInterfaces(InterfaceFilter, null)
                   .Select(t => CreateService(component.Name, t))
                   .ToArray());
        }
        private Service[] GetImplementedServices(ComponentConfigurationElement component)
        {
            Guard.NotNull("component", component);

            return component.ComponentType
                .FindInterfaces(InterfaceFilter, null)
                .Select(t => CreateService(component.Name, t))
                .ToArray();
        }