예제 #1
0
        public Comment(string body, DateTime created, UserAuthenticated creator, long creatorIP, string creatorUserAgent, Guid id, Language language, DateTime modified, CommentSmall parent, EntityState state)
            : this(id)
        {
            Body             = body;
            Created          = created;
            CreatorUserID    = creator.ID;
            CreatorIP        = creatorIP;
            CreatorUserAgent = creatorUserAgent;
            Parent           = parent;
            Language         = language;
            State            = state;

            userAuthenticated = creator;
        }
예제 #2
0
 public Comment(string body, Guid creatorUserID, string creatorName, string creatorEmail, string creatorEmailHash, string creatorUrl, long creatorIP, string creatorUserAgent, Language language, CommentSmall parent, EntityState state)
 {
     Body             = body;
     CreatorUserID    = creatorUserID;
     CreatorName      = creatorName;
     CreatorEmail     = creatorEmail;
     CreatorEmailHash = creatorEmailHash;
     CreatorUrl       = creatorUrl;
     CreatorIP        = creatorIP;
     CreatorUserAgent = creatorUserAgent;
     Parent           = parent;
     Language         = language;
     State            = state;
 }
예제 #3
0
        public Comment(string body, DateTime created, UserAnonymous creator, long creatorIP, string creatorUserAgent, Guid id, Language language, DateTime modified, CommentSmall parent, EntityState state)
            : this(id)
        {
            Body             = body;
            Created          = created;
            CreatorName      = creator.Name;
            CreatorEmail     = creator.Email;
            CreatorEmailHash = creator.EmailHash;
            CreatorUrl       = creator.Url;
            CreatorIP        = creatorIP;
            CreatorUserAgent = creatorUserAgent;
            Language         = language;
            Parent           = parent;
            State            = state;

            userAnonymous = creator;
        }
예제 #4
0
 public Comment(string body, DateTime created, Guid creatorUserID, string creatorName, string creatorEmail, string creatorEmailHash, string creatorUrl, long creatorIP, string creatorUserAgent, Guid id, Language language, DateTime modified, CommentSmall parent, EntityState state)
     : this(id)
 {
     Body             = body;
     Created          = created;
     CreatorUserID    = creatorUserID;
     CreatorName      = creatorName;
     CreatorEmail     = creatorEmail;
     CreatorEmailHash = creatorEmailHash;
     CreatorUrl       = creatorUrl;
     CreatorIP        = creatorIP;
     CreatorUserAgent = creatorUserAgent;
     Language         = language;
     Modified         = modified;
     Parent           = parent;
     Language         = language;
     State            = state;
 }