Example #1
0
 /// <summary>
 /// Loads the provider into the system.
 /// </summary>
 /// <param name="provider">The provider to add to the list.</param>
 public async Task LoadAsync(IStorageProvider provider)
 {
     if (provider == null)
         throw new NullReferenceException(ExceptionMessage.IsNullOrInvalid("provider"));
     await provider.LoadInfoAsync();
     _providers.Add(provider);            
 }