PageRenderTime 50ms CodeModel.GetById 24ms RepoModel.GetById 1ms 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
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using Bifrost.Events;
  3. namespace Bifrost.Samples.Blog.Events.Security
  4. {
  5. public class UserCreated : Event
  6. {
  7. public UserCreated(Guid userId, string userName, string password) : base(userId)
  8. {
  9. UserName = userName;
  10. Password = password;
  11. }
  12. public string UserName { get; set; }
  13. public string Password { get; set; }
  14. }
  15. }