Mercurial > pub > bltoolkit
annotate UnitTests/Linq/Providers.cs @ 9:1e85f66cf767 default tip
update bltoolkit
| author | nickolay |
|---|---|
| date | Thu, 05 Apr 2018 20:53:26 +0300 |
| parents | f990fcb411a9 |
| children |
| rev | line source |
|---|---|
| 0 | 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 } |
