示例#1
0
 public Sticker(long userId, string name, string fileUri)
 {
     Id      = ProcrastinatorCore.GenerateID();
     Name    = name;
     FileUrl = fileUri;
     UserId  = userId;
 }
示例#2
0
 public Event(long userId, string eventName, DateTime eventDate)
 {
     Id          = ProcrastinatorCore.GenerateID();
     UserId      = userId;
     Name        = eventName;
     Date        = eventDate;
     Style       = EventStyle.Basic;
     EndDate     = eventDate;
     AllDay      = false;
     Description = "";
     Style       = EventStyle.Basic;
     Color       = "#fff";
     Stickers    = null;
 }
示例#3
0
 public User(string username, string[] claims = null)
 {
     Id       = ProcrastinatorCore.GenerateID();
     UserName = username;
     Claims   = claims ?? (new string[0]);
 }