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); } }
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); } }
private InterfaceComment CommentToInterfaceComment(CedonkeyComment Comment) { InterfaceComment ifaceComment=new InterfaceComment(); ifaceComment.ClientName=Comment.userName; ifaceComment.Comment=Comment.strComment; ifaceComment.Rating=Comment.rating.ToString(); return ifaceComment; }