Example #1
0
 public NetworkNeighborhoodResourceProvider()
 {
     _metadata        = new ResourceProviderMetadata(NETWORK_NEIGHBORHOOD_RESOURCE_PROVIDER_ID, RES_RESOURCE_PROVIDER_NAME, RES_RESOURCE_PROVIDER_DESCRIPTION, false, true, DEFAULT_SYSTEM_AFFINITY);
     _browserService  = new NeighborhoodBrowserService();
     _settings        = new SettingsChangeWatcher <NetworkNeighborhoodResourceProviderSettings>();
     _registeredPaths = new ConcurrentBag <ResourcePath>();
     RegisterCredentials();
     _settings.SettingsChanged += (sender, args) =>
     {
         UnregisterCredentials();
         RegisterCredentials();
     };
 }
 public NetworkNeighborhoodResourceProvider()
 {
   _metadata = new ResourceProviderMetadata(NETWORK_NEIGHBORHOOD_RESOURCE_PROVIDER_ID, RES_RESOURCE_PROVIDER_NAME, RES_RESOURCE_PROVIDER_DESCRIPTION, false, true, DEFAULT_SYSTEM_AFFINITY);
   _browserService = new NeighborhoodBrowserService();
   _settings =  new SettingsChangeWatcher<NetworkNeighborhoodResourceProviderSettings>();
   _registeredPaths = new ConcurrentBag<ResourcePath>();
   RegisterCredentials();
   _settings.SettingsChanged += (sender, args) =>
   {
     UnregisterCredentials();
     RegisterCredentials();
   };
 }
 public NetworkNeighborhoodResourceProvider()
 {
   _metadata = new ResourceProviderMetadata(NETWORK_NEIGHBORHOOD_RESOURCE_PROVIDER_ID, RES_RESOURCE_PROVIDER_NAME, RES_RESOURCE_PROVIDER_DESCRIPTION, false, true, DEFAULT_SYSTEM_AFFINITY);
   _browserService = new NeighborhoodBrowserService();
 }
 public NetworkNeighborhoodResourceProvider()
 {
     _metadata       = new ResourceProviderMetadata(NETWORK_NEIGHBORHOOD_RESOURCE_PROVIDER_ID, RES_RESOURCE_PROVIDER_NAME, RES_RESOURCE_PROVIDER_DESCRIPTION, false, true, DEFAULT_SYSTEM_AFFINITY);
     _browserService = new NeighborhoodBrowserService();
 }