public EventInformation(EventInformation copy) { Global.Tracer.Assert(copy != null, "(null != copy)"); m_hasShowHideInfo = copy.m_hasShowHideInfo; if (copy.m_toggleStateInfo != null) { m_toggleStateInfo = (Hashtable)copy.m_toggleStateInfo.Clone(); } if (copy.m_hiddenInfo != null) { m_hiddenInfo = (Hashtable)copy.m_hiddenInfo.Clone(); } m_hasSortInfo = copy.m_hasSortInfo; if (copy.m_sortInfo != null) { m_sortInfo = copy.m_sortInfo.Clone(); } else if (copy.m_odpSortInfo != null) { m_odpSortInfo = copy.m_odpSortInfo.Clone(); } if (copy.m_rendererEventInformation == null) { return; } m_rendererEventInformation = new Dictionary <string, RendererEventInformation>(copy.m_rendererEventInformation.Count); foreach (string key in copy.m_rendererEventInformation.Keys) { RendererEventInformation value = new RendererEventInformation(copy.m_rendererEventInformation[key]); m_rendererEventInformation[key] = value; } }
internal RendererEventInformation(RendererEventInformation copy) { Global.Tracer.Assert(copy != null, "(null != copy)"); if (copy.m_validToggleSenders != null) { m_validToggleSenders = (Hashtable)copy.m_validToggleSenders.Clone(); } if (copy.m_drillthroughInfo != null) { m_drillthroughInfo = (Hashtable)copy.m_drillthroughInfo.Clone(); } }
internal RendererEventInformation GetRendererEventInformation(string aRenderFormat) { if (m_rendererEventInformation == null) { m_rendererEventInformation = new Dictionary <string, RendererEventInformation>(); } RendererEventInformation value = null; if (!m_rendererEventInformation.TryGetValue(aRenderFormat, out value)) { value = new RendererEventInformation(); m_rendererEventInformation[aRenderFormat] = value; } return(value); }
public RendererEventInformation GetRendererEventInformation(string aRenderFormat) { if (this.m_rendererEventInformation == null) { this.m_rendererEventInformation = new Dictionary <string, RendererEventInformation>(); } RendererEventInformation rendererEventInformation = null; if (!this.m_rendererEventInformation.TryGetValue(aRenderFormat, out rendererEventInformation)) { rendererEventInformation = new RendererEventInformation(); this.m_rendererEventInformation[aRenderFormat] = rendererEventInformation; } return(rendererEventInformation); }
public DrillthroughInfo GetDrillthroughInfo(string drillthroughId) { if (this.m_rendererEventInformation != null) { foreach (string key in this.m_rendererEventInformation.Keys) { RendererEventInformation rendererEventInformation = this.m_rendererEventInformation[key]; DrillthroughInfo drillthroughInfo = rendererEventInformation.GetDrillthroughInfo(drillthroughId); if (drillthroughInfo != null) { return(drillthroughInfo); } } } return(null); }