Mercurial > silverbladetech
view SilverlightGlimpse/SilverlightValidation/Models/UserModel.cs @ 84:5cb6117d80b1
title removed
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Tue, 24 Apr 2012 00:51:53 +0100 |
parents | dd6bcd2535b6 |
children |
line wrap: on
line source
using System; using SilverlightValidation.Interfaces; namespace SilverlightValidation.Models { public class UserModel : IUserModel { public string Username { get; set; } public string Email { get; set; } public string Password { get; set; } public DateTime? DateOfBirth { get; set; } public string Description { get; set; } public static UserModel Create() { return new UserModel() { Username = "", Email = "", Password = "", DateOfBirth = null, Description = "" }; } public UserModel Clone() { return (UserModel) this.MemberwiseClone(); } } }