Esempio n. 1
0
/*
 *              /// <summary>
 *              /// Return the number of matching children
 *              /// </summary>
 *              /// <value></value>
 *              public override ArrayList Matches
 *              {
 *                  get
 *                  {
 *                      ArrayList retVal = new ArrayList();
 *                      foreach (GlyphBase glyph in Glyphs)
 *                      {
 *                          retVal.AddRange(glyph.Matches);
 *                      }
 *                      return retVal;
 *                  }
 *              }
 */
        #endregion Public Methods
        #endregion Methods

        #region ISerializable Members'
        /// <summary>
        /// Serialization Method
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            base.GetObjectData(info, context);
            info.AddValue("Glyphs", Glyphs);
            info.AddValue("LayoutEngine", LayoutEngine.GetType());
        }