internal override void Initialize(InitializationContext context) { context.ExprHostBuilder.MapLineLayerStart(base.Name); base.Initialize(context); if (m_mapLineRules != null) { m_mapLineRules.Initialize(context); } if (base.MapDataRegionName == null) { if (m_mapLineTemplate != null) { m_mapLineTemplate.Initialize(context); } if (m_mapLines != null) { for (int i = 0; i < m_mapLines.Count; i++) { m_mapLines[i].Initialize(context, i); } } } m_exprHostID = context.ExprHostBuilder.MapLineLayerEnd(); }
internal override void Initialize(InitializationContext context, int index) { context.ExprHostBuilder.MapLineStart(index.ToString(CultureInfo.InvariantCulture.NumberFormat)); base.Initialize(context, index); if (m_useCustomLineTemplate != null) { m_useCustomLineTemplate.Initialize("UseCustomLineTemplate", context); context.ExprHostBuilder.MapLineUseCustomLineTemplate(m_useCustomLineTemplate); } if (m_mapLineTemplate != null) { m_mapLineTemplate.Initialize(context); } m_exprHostID = context.ExprHostBuilder.MapLineEnd(); }