Mercurial > pub > bltoolkit
comparison UnitTests/Fluent/MockDataBase/MockReaderData.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.Generic; | |
3 using System.Linq; | |
4 | |
5 namespace BLToolkit.Fluent.Test.MockDataBase | |
6 { | |
7 public class MockReaderData | |
8 { | |
9 public MockReaderData() | |
10 { | |
11 Results = new List<MockReaderResultData>(); | |
12 } | |
13 | |
14 public List<MockReaderResultData> Results { get; private set; } | |
15 | |
16 public MockReaderResultData CurrentResult | |
17 { | |
18 get { return Results.LastOrDefault(); } | |
19 set { Results.Add(value); } | |
20 } | |
21 } | |
22 } |