コード例 #1
0
 public void GetSupportedProvidersForParallelTest()
 {
     Parallel.For(1, 100, i =>
     {
         Console.WriteLine(ProviderHelper.GetSupportedProviders().Length);
     });
 }
コード例 #2
0
 private void LoadProviderTypes()
 {
     foreach (var p in ProviderHelper.GetSupportedProviders())
     {
         tbtnAdd.DropDownItems.Add(new ToolStripMenuItem(p));
     }
 }
コード例 #3
0
 public void GetSupportedProvidersTest()
 {
     foreach (var name in ProviderHelper.GetSupportedProviders())
     {
         Console.WriteLine(name);
         var provider = ProviderHelper.GetDefinedProviderInstance(name);
         Assert.IsNotNull(provider);
     }
 }