Example #1
0
        /// <summary>
        /// Initializes an instance of ZeroConfigProviderManager using the specified assembly directory.
        /// </summary>
        /// <param name="assemblyDirectory">The directory to get assemblies from.</param>
        public ZeroConfigProviderManager(string assemblyDirectory)
        {
            var providerTypes = new ProviderTypeLoader(assemblyDirectory).Load();

            Providers = new ZeroConfigProviderList(providerTypes);
        }
 /// <summary>
 /// Initializes an instance of ZeroConfigProviderManager using the specified assembly directory. 
 /// </summary>
 /// <param name="assemblyDirectory">The directory to get assemblies from.</param>
 public ZeroConfigProviderManager(string assemblyDirectory)
 {
     var providerTypes = new ProviderTypeLoader(assemblyDirectory).Load();
     Providers = new ZeroConfigProviderList(providerTypes);
 }