Mercurial > silverbladetech
annotate SilverlightValidation/SilverlightValidation.PL/Data/Factory.cs @ 102:db05a55e3536
INPC tests added
author | stevenhollidge <stevenhollidge@hotmail.com> |
---|---|
date | Sun, 06 May 2012 12:13:29 +0100 |
parents | 188f8b366e87 |
children |
rev | line source |
---|---|
58 | 1 using System; |
2 using System.Collections.Generic; | |
3 using SilverlightValidation.Models; | |
4 | |
5 namespace SilverlightValidation.Data | |
6 { | |
7 public class Factory | |
8 { | |
9 public static IList<UserModel> CreateUserModels() | |
10 { | |
11 return new List<UserModel>(5) | |
12 { | |
102
db05a55e3536
INPC tests added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
96
diff
changeset
|
13 UserModel.Create("StevenH", "Password1", "steven@hotmail.com", new DateTime(1977, 09, 01), ""), |
db05a55e3536
INPC tests added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
96
diff
changeset
|
14 UserModel.Create("RichardJ", "12N456a", "dicky@gmail.com", new DateTime(1983, 03, 13), "Loves .Net!"), |
db05a55e3536
INPC tests added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
96
diff
changeset
|
15 UserModel.Create("BobbyP", "pa33Word", "bob@yahoo.co.uk", new DateTime(1992, 08, 30), ""), |
db05a55e3536
INPC tests added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
96
diff
changeset
|
16 UserModel.Create("DavidM", "poIu789", "daveyboy@marsh.com", new DateTime(1965, 06, 21), "Java fan boy"), |
db05a55e3536
INPC tests added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
96
diff
changeset
|
17 UserModel.Create("JessieJ", "jlkJh567", "jj@apple.co.uk", new DateTime(1990, 10, 15), "") |
58 | 18 }; |
19 } | |
20 } | |
21 } |