Пример #1
0
 internal void InitCache()
 {
     if (m_scalabilityCache == null)
     {
         m_scalabilityCache = ScalabilityUtils.CreateCacheForTransientAllocations(m_createAndRegisterStream, "HPB", StorageObjectCreator.Instance, HPBReferenceCreator.Instance, ComponentType.Pagination, 1);
     }
 }
 private void InitCache(CreateAndRegisterStream streamDelegate)
 {
     if (this._scalabilityCache == null)
     {
         this._scalabilityCache = (ScalabilityCache)ScalabilityUtils.CreateCacheForTransientAllocations(streamDelegate, "Word", AspNetCore.ReportingServices.Rendering.WordRenderer.WordOpenXmlRenderer.Models.StorageObjectCreator.Instance, WordRendererReferenceCreator.Instance, ComponentType.Rendering, 1);
     }
 }