Exemplo n.º 1
0
 public Assort()
 {
     this.name   = "ll";
     this.f      = 0;
     this.msort  = new SortedDictionary <string, string>();
     this.mserch = new Assortmentmessage();
 }
Exemplo n.º 2
0
        //add()数据
        public void serch_add_data(string name, Assortment mm)
        {
            Assort muser = serchdata(name);

            Assortmentmessage mserchmassage = muser.mserch;

            mserchmassage.addnewdata(mm, mserchmassage.getmsderchdatanode());
        }
Exemplo n.º 3
0
        //搜索返回数据
        public Assortment serch_result(string username, string wordstr)
        {
            Assort muser = serchdata_(username);

            if (muser == null)
            {
                return(null);
            }
            Assortmentmessage mserch = muser.mserch;

            if (mserch == null)
            {
                return(null);
            }

            Assortment mword = mserch.serchofword(mserch.getmsderchdatanode(), wordstr);


            return(mword);
        }