Пример #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);
 }
Пример #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);
 }
Пример #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;
 }
Пример #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;
		}
Пример #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);
		}
Пример #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);
		}