SIL.FieldWorks.IText.ComplexConcPatternVc.DisplayInflFeatureLines C# (CSharp) Method

DisplayInflFeatureLines() private method

private DisplayInflFeatureLines ( IVwEnv vwenv, object>.IDictionary inflFeatures, bool openPara ) : void
vwenv IVwEnv
inflFeatures object>.IDictionary
openPara bool
return void
		private void DisplayInflFeatureLines(IVwEnv vwenv, IDictionary<IFsFeatDefn, object> inflFeatures, bool openPara)
		{
			IDictionary<IFsFeatDefn, object> lastInflFeatures = m_curInflFeatures;
			m_curInflFeatures = inflFeatures;
			foreach (KeyValuePair<IFsFeatDefn, object> kvp in inflFeatures)
			{
				if (kvp.Key is IFsComplexFeature)
				{
					if (openPara)
						vwenv.OpenParagraph();
					vwenv.AddProp(kvp.Key.Hvo, this, kfragFeatureLine);
					DisplayInflFeatures(vwenv, (IDictionary<IFsFeatDefn, object>) kvp.Value);
					if (openPara)
						vwenv.CloseParagraph();
				}
				else
				{
					vwenv.AddProp(kvp.Key.Hvo, this, kfragFeatureLine);
				}
			}
			m_curInflFeatures = lastInflFeatures;
		}