PageRenderTime 41ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/Source/Samples/ExplicitConsole/Events/FirstNameChanged.cs

#
C# | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | be3b6233e9c1c8d5d47bdee0a13c6efb MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using Bifrost.Events;
  3. namespace ExplicitConsole.Events
  4. {
  5. public class FirstNameChanged : Event
  6. {
  7. public FirstNameChanged(Guid id, string firstName) : base(id)
  8. {
  9. FirstName = firstName;
  10. }
  11. public string FirstName { get; set; }
  12. }
  13. }