Mercurial > pub > bltoolkit
annotate UnitTests/Linq/Providers.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +0400 |
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 } |