/// <summary>
        /// Constructor.  Initializes the class with the default extensibility providers.
        /// </summary>
        /// <param name="rootNamespace">Root namespace of the application.  All auto-registration will be restricted to 
        /// types within this namespace.</param>
        public AutoRegistrationOptions(string rootNamespace)
        { 
            var enabledOptions = new AutoRegistrationEnabledProvider.AttributeAutoRegistrationEnabledProviderOptions(rootNamespace);
            AutoRegistrationEnabledProvider = new AutoRegistrationEnabledProvider.AttributeAutoRegistrationEnabledProvider(enabledOptions);

            ImplementationProvider = new ImplementationProvider.AutoRegistrationImplementationProvider(AutoRegistrationEnabledProvider);

            var attrOptions = new LifestyleResolver.AttributeLifestyleResolverOptions();
            LifestyleResolver = new LifestyleResolver.AttributeLifestyleResolver(ImplementationProvider, attrOptions);

            RegisterMefExtensions();
          
            RegisterDecorators = false;
        }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="options">Options used to detmine which types should be included or excluded
 /// for the auto-registration process.</param>
 public AttributeAutoRegistrationEnabledProvider(AttributeAutoRegistrationEnabledProviderOptions options)
 {
     this.options = options;
 }