StatusInfo.cs 903 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows.Media;
  8. namespace TeamAAS_VP.Models
  9. {
  10. public class StatusInfo : BindableBase
  11. {
  12. private Guid _id;
  13. public Guid ID
  14. {
  15. get { return _id; }
  16. set { SetProperty(ref _id, value) ; }
  17. }
  18. private string _Message;
  19. public string Message
  20. {
  21. get { return _Message; }
  22. set { SetProperty(ref _Message, value); }
  23. }
  24. private Brush _Background;
  25. public Brush Background
  26. {
  27. get { return _Background; }
  28. set { SetProperty(ref _Background, value); }
  29. }
  30. public StatusInfo(Guid id,string message, Brush background)
  31. {
  32. ID = id;
  33. Message = message;
  34. Background = background;
  35. }
  36. }
  37. }