public void RegisterFactory(DataSourceFactory factory)
		{
			if (factory == null)
				throw new ArgumentNullException("factory");

			factories.Add(factory);
		}
        public void RegisterFactory(DataSourceFactory factory)
        {
            if (factory == null)
            {
                throw new ArgumentNullException("factory");
            }

            factories.Add(factory);
        }