Esempio n. 1
0
 public LightCreateThreadModel(VBLightUser author, int forumId, string title, string text, string ipAddress, bool isOpen = true)
 {
     Author    = author;
     ForumId   = forumId;
     Title     = title;
     Text      = text;
     IpAddress = ipAddress;
     IsOpen    = isOpen;
 }
Esempio n. 2
0
 public LightCreateReplyModel(VBLightUser author, int forumId, int threadId, string text, string ipAddress, string title = "", long?timeRaw = null, bool updateCounters = true)
 {
     Author         = author;
     ForumId        = forumId;
     ThreadId       = threadId;
     Text           = text;
     IpAddress      = ipAddress;
     Title          = title;
     TimeRaw        = timeRaw;
     UpdateCounters = updateCounters;
 }