Esempio n. 1
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Provides a hook for initializing a cache in special ways. For example,
		/// LexTextApp sets up a CreateModifyTimeManager.
		/// </summary>
		/// <param name="cache"></param>
		/// ------------------------------------------------------------------------------------
		protected override void InitCache(FdoCache cache)
		{
			base.InitCache(cache);

			// Use Scripture specific types instead of generic ones.
			cache.MapType(typeof(StTxtPara), typeof(ScrTxtPara));
			cache.MapType(typeof(StFootnote), typeof(ScrFootnote));
		}