SIL.FieldWorks.IText.InterlinDocForAnalysis.HasVisibleTranslationOrNote C# (CSharp) Method

HasVisibleTranslationOrNote() private method

Determines if there are visible translation or note - non null and configured.
private HasVisibleTranslationOrNote ( ISegment seg, IEnumerable lines ) : bool
seg ISegment The segment to check.
lines IEnumerable The configuration line specs.
return bool
		private bool HasVisibleTranslationOrNote(ISegment seg, IEnumerable<InterlinLineSpec> lines)
		{
			return lines.Any(line =>
							 line.Flid == InterlinLineChoices.kflidFreeTrans ||
							 line.Flid == InterlinLineChoices.kflidLitTrans ||
							 line.Flid == InterlinLineChoices.kflidNote && seg.NotesOS.Count > 0);
		}
InterlinDocForAnalysis