Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. public class Alert {
  2. public long Id {get; set;}
  3. public DateTime TimeOfAlert {get; set;}
  4. public Color AlertColor { get; set; }
  5. public string[] GetAlertColorRgb() {
  6. return new string[] {this.AlertColor.A.ToString(), this.AlertColor.G.ToString(), this.AlertColor.B.ToString()};
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement