Mercurial > pub > bltoolkit
comparison UnitTests/Linq/Providers.cs @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 using System; | |
2 using System.Collections; | |
3 using System.Linq; | |
4 | |
5 using NUnit.Framework; | |
6 | |
7 namespace Data.Linq | |
8 { | |
9 public class ProvidersAttribute : TestCaseSourceAttribute | |
10 { | |
11 public ProvidersAttribute() : base(typeof(ProviderFactory), "All") | |
12 { | |
13 } | |
14 } | |
15 | |
16 class ProviderFactory | |
17 { | |
18 public static IEnumerable All | |
19 { | |
20 get { return TestBase.Providers.Select(provider => provider.Name); } | |
21 } | |
22 } | |
23 } |