This is what the bootstrapper does.

container.Register (
                                 AllTypes
                                        .FromAssembly (assembly)
                                        .Where (type =>
                                                typeof 
(IMessageConsumer).IsAssignableFrom (type) &&
                                                typeof 
(IOccasionalMessageConsumer).IsAssignableFrom (type) == false &&
                                                
IsTypeAcceptableForThisBootStrapper (type) //probably wouldn't
need this for your own registration
                                        )
                                        .Configure (registration =>
                                        {
                                                registration.LifeStyle.Is 
(LifestyleType.Transient);
                                                ConfigureConsumer 
(registration); //to full name
                                        })
                                );

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to