Esempio n. 1
0
            public override void MakeRoot()
            {
                CheckDisposed();

                if (m_cache == null || DesignMode)
                {
                    return;
                }

                base.MakeRoot();

                m_rootb.DataAccess = m_cache.DomainDataByFlid;

                m_cvc = new ConcVc(m_cp, m_gni, m_index);

                // The root object is the one, if any, that the policy gives us for this slice.
                // If it doesn't give us one the vc will obtain a key string from the policy
                // directly. The frag argument is arbitrary.
                m_rootb.SetRootObject(m_cp.Item(m_index), m_cvc, 1, m_styleSheet);
            }
Esempio n. 2
0
            public override void MakeRoot()
            {
                CheckDisposed();
                base.MakeRoot();

                if (m_fdoCache == null || DesignMode)
                {
                    return;
                }

                IVwRootBox rootb = VwRootBoxClass.Create();

                rootb.SetSite(this);

                rootb.DataAccess = m_fdoCache.MainCacheAccessor;

                m_cvc = new ConcVc(m_cp, m_gni, m_index);

                // The root object is the one, if any, that the policy gives us for this slice.
                // If it doesn't give us one the vc will obtain a key string from the policy
                // directly. The frag argument is arbitrary.
                rootb.SetRootObject(m_cp.Item(m_index), m_cvc, 1, m_styleSheet);
                m_rootb = rootb;
            }
Esempio n. 3
0
			public override void MakeRoot()
			{
				CheckDisposed();
				base.MakeRoot();

				if (m_fdoCache == null || DesignMode)
					return;

				IVwRootBox rootb = VwRootBoxClass.Create();
				rootb.SetSite(this);

				rootb.DataAccess = m_fdoCache.DomainDataByFlid;

				m_cvc = new ConcVc(m_cp, m_gni, m_index);

				// The root object is the one, if any, that the policy gives us for this slice.
				// If it doesn't give us one the vc will obtain a key string from the policy
				// directly. The frag argument is arbitrary.
				rootb.SetRootObject(m_cp.Item(m_index), m_cvc, 1, m_styleSheet);
				m_rootb = rootb;
			}