public static void LoadProviders()
        {
            if (_provider == null)
            {
                lock (_lock)
                {
                    if (_provider == null)
                    {
                        // Get a reference to the <imageService> section
                        ExtensionMobilityServiceSection section = (ExtensionMobilityServiceSection)
                                                                  WebConfigurationManager.GetSection
                                                                      ("extensionMobilityService");

                        // Load registered providers and point _provider
                        // to the default provider
                        _providers = new ExtensionMobilityProviderCollection();
                        ProvidersHelper.InstantiateProviders
                            (section.Providers, _providers,
                            typeof(ExtensionMobilityProvider));
                        _provider = _providers[section.DefaultProvider];

                        if (_provider == null)
                        {
                            throw new ProviderException
                                      ("Unable to load default ExtensionMobilityProvider");
                        }
                    }
                }
            }
        }
        public static void LoadProviders()
        {
            if (_provider == null)
            {
                lock (_lock)
                {
                    if (_provider == null)
                    {
                        // Get a reference to the <imageService> section
                        ExtensionMobilityServiceSection section = (ExtensionMobilityServiceSection)
                            WebConfigurationManager.GetSection
                            ("extensionMobilityService");

                        // Load registered providers and point _provider
                        // to the default provider
                        _providers = new ExtensionMobilityProviderCollection();
                        ProvidersHelper.InstantiateProviders
                            (section.Providers, _providers,
                            typeof(ExtensionMobilityProvider));
                        _provider = _providers[section.DefaultProvider];

                        if (_provider == null)
                            throw new ProviderException
                                ("Unable to load default ExtensionMobilityProvider");

                    }
                }
            }
        }