Esempio n. 1
0
            public override bool Equals(object obj)
            {
                if (obj == null)
                {
                    return(false);
                }

                _GlossDef _glossDef = obj as _GlossDef;

                if (_glossDef.para != para)
                {
                    return(false);
                }

                int i = 0;

                foreach (string s in _glossDef.GlossSeeAlso)
                {
                    if (s != GlossSeeAlso[i++])
                    {
                        return(false);
                    }
                }

                return(true);
            }
Esempio n. 2
0
 public _GlossEntry(
     string ID,
     string SortAs,
     string GlossTerm,
     string Acronym,
     string Abbrev,
     _GlossDef GlossDef,
     string GlossSee)
 {
     this.ID        = ID;
     this.SortAs    = SortAs;
     this.GlossTerm = GlossTerm;
     this.Acronym   = Acronym;
     this.Abbrev    = Abbrev;
     this.GlossDef  = GlossDef;
     this.GlossSee  = GlossSee;
 }