Mercurial > silverbladetech
annotate SilverlightValidation/SilverlightValidation.PL/Data/Factory.cs @ 96:188f8b366e87
Unit test project correctly setup as normal class library DLL.
author | stevenhollidge <stevenhollidge@hotmail.com> |
---|---|
date | Sat, 05 May 2012 13:29:56 +0100 |
parents | SilverlightValidation/SilverlightValidation/Data/Factory.cs@fc62c971a117 |
children | db05a55e3536 |
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 { | |
59
3591c26bd63e
MVVMLight added
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
58
diff
changeset
|
13 new UserModel() { Username = "StevenH", Password = "Password1", Email = "steven@hotmail.com", DateOfBirth = new DateTime(1977, 09, 01), Description = ""}, |
60 | 14 new UserModel() { Username = "RichardJ", Password = "12N456a", Email = "dicky@gmail.com", DateOfBirth = new DateTime(1983, 03, 13), Description = "Loves .Net!"}, |
59
3591c26bd63e
MVVMLight added
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
58
diff
changeset
|
15 new UserModel() { Username = "BobbyP", Password = "pa33Word", Email = "bob@yahoo.co.uk", DateOfBirth = new DateTime(1992, 08, 30), Description = ""}, |
60 | 16 new UserModel() { Username = "DavidM", Password = "poIu789", Email = "daveyboy@marsh.com", DateOfBirth = new DateTime(1965, 06, 21), Description = "Java fan boy"}, |
59
3591c26bd63e
MVVMLight added
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
58
diff
changeset
|
17 new UserModel() { Username = "JessieJ", Password = "jlkJh567", Email = "jj@apple.co.uk", DateOfBirth = new DateTime(1990, 10, 15), Description = ""} |
58 | 18 }; |
19 } | |
20 } | |
21 } |