/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
- using System;
- using Bifrost.Events;
-
- namespace Bifrost.Samples.Blog.Events.Security
- {
- public class UserCreated : Event
- {
- public UserCreated(Guid userId, string userName, string password) : base(userId)
- {
- UserName = userName;
- Password = password;
- }
-
- public string UserName { get; set; }
- public string Password { get; set; }
- }
- }