PageRenderTime 21ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/Source/Samples/Blog/Bifrost.Samples.Blog.Events/Security/UserCreated.cs

#
C# | 17 lines | 15 code | 2 blank | 0 comment | 0 complexity | 625a7ff1a66c3df7086bec6676c7bcfc MD5 | raw file
 1using System;
 2using Bifrost.Events;
 3
 4namespace Bifrost.Samples.Blog.Events.Security
 5{
 6    public class UserCreated : Event
 7    {
 8        public UserCreated(Guid userId, string userName, string password) : base(userId)
 9        {
10            UserName = userName;
11            Password = password;
12        }
13
14        public string UserName { get; set; }
15        public string Password { get; set; }
16    }
17}