Ejemplo n.º 1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 ///
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// <param name="cache">The Fdo Cache</param>
 /// <param name="viewTypeId">An identifier for a group of views that share the same
 /// height estimates</param>
 /// ------------------------------------------------------------------------------------
 public SyncedRootSiteGroup(SplitGrid parent, FdoCache cache, int viewTypeId)
     : base(parent)
 {
     // NOTE: This ParagraphCounter is shared among multiple views (i.e. references to
     // the same counter will be used in each RootSiteGroup with the same cache and
     // viewTypeId)
     m_paraCounter = cache.ServiceLocator.GetInstance <IParagraphCounterRepository>().GetParaCounter(viewTypeId);
 }
Ejemplo n.º 2
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 ///
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// <param name="cache">The Fdo Cache</param>
 /// <param name="viewTypeId">An identifier for a group of views that share the same
 /// height estimates</param>
 /// ------------------------------------------------------------------------------------
 public SyncedRootSiteGroup(SplitGrid parent, FdoCache cache, int viewTypeId)
     : base(parent)
 {
     // NOTE: This ParagraphCounter is shared among multiple views (i.e. references to
     // the same counter will be used in each RootSiteGroup with the same cache and
     // viewTypeId)
     m_paraCounter = ParagraphCounterManager.GetParaCounter(cache, viewTypeId);
 }
Ejemplo n.º 3
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="T:RootSiteGroup"/> class.
 /// </summary>
 /// <param name="parent">The parent.</param>
 /// ------------------------------------------------------------------------------------
 public RootSiteGroup(SplitGrid parent)
 {
     m_Parent = parent;
 }
Ejemplo n.º 4
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Initializes a new instance of the <see cref="T:RootSiteGroup"/> class.
		/// </summary>
		/// <param name="parent">The parent.</param>
		/// ------------------------------------------------------------------------------------
		public RootSiteGroup(SplitGrid parent)
		{
			m_Parent = parent;
		}
Ejemplo n.º 5
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="parent">The parent.</param>
		/// <param name="cache">The Fdo Cache</param>
		/// <param name="viewTypeId">An identifier for a group of views that share the same
		/// height estimates</param>
		/// ------------------------------------------------------------------------------------
		public SyncedRootSiteGroup(SplitGrid parent, FdoCache cache, int viewTypeId)
			: base(parent)
		{
			// NOTE: This ParagraphCounter is shared among multiple views (i.e. references to
			// the same counter will be used in each RootSiteGroup with the same cache and
			// viewTypeId)
			m_paraCounter = cache.ServiceLocator.GetInstance<IParagraphCounterRepository>().GetParaCounter(viewTypeId);
		}
Ejemplo n.º 6
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		///
		/// </summary>
		/// <param name="parent">The parent.</param>
		/// <param name="cache">The Fdo Cache</param>
		/// <param name="viewTypeId">An identifier for a group of views that share the same
		/// height estimates</param>
		/// ------------------------------------------------------------------------------------
		public SyncedRootSiteGroup(SplitGrid parent, FdoCache cache, int viewTypeId)
			: base(parent)
		{
			// NOTE: This ParagraphCounter is shared among multiple views (i.e. references to
			// the same counter will be used in each RootSiteGroup with the same cache and
			// viewTypeId)
			m_paraCounter = ParagraphCounterManager.GetParaCounter(cache, viewTypeId);
		}