DevEvent.cs 511 B

12345678910111213141516171819202122
  1. using Coravel.Events.Interfaces;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Diagnostics.CodeAnalysis;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Ropin.Core.Common
  9. {
  10. public class DevEvent : IEvent
  11. {
  12. public string Message { get; set; }
  13. public string DevId { get; set; }
  14. public DevEvent(string message, [AllowNull] string devId)
  15. {
  16. this.Message = message;
  17. this.DevId = devId;
  18. }
  19. }
  20. }