Exemplo n.º 1
0
 public void NewComment(string userName,byte rating,string strComment)
 {
     if (!m_Contains(userName,rating,strComment))
     {
         CedonkeyComment Comment=new CedonkeyComment();
         Comment.userName=userName;
         Comment.rating=rating;
         Comment.strComment=strComment;
         Add(Comment);
     }
 }
Exemplo n.º 2
0
 public void NewComment(string userName, byte rating, string strComment)
 {
     if (!m_Contains(userName, rating, strComment))
     {
         CedonkeyComment Comment = new CedonkeyComment();
         Comment.userName   = userName;
         Comment.rating     = rating;
         Comment.strComment = strComment;
         Add(Comment);
     }
 }
Exemplo n.º 3
0
 private InterfaceComment CommentToInterfaceComment(CedonkeyComment Comment)
 {
     InterfaceComment ifaceComment=new InterfaceComment();
     ifaceComment.ClientName=Comment.userName;
     ifaceComment.Comment=Comment.strComment;
     ifaceComment.Rating=Comment.rating.ToString();
     return ifaceComment;
 }