SILUBS.ScriptureChecks.QuotationMarkCategorizer.IsProseOrStanzaBreak C# (CSharp) Method

IsProseOrStanzaBreak() private method

Determines whether or not the specified style name represents a style whose use is prose or stanzabreak.
private IsProseOrStanzaBreak ( string styleName ) : bool
styleName string
return bool
		private bool IsProseOrStanzaBreak(string styleName)
		{
			foreach (StyleInfo spi in m_styleInfo.SentenceInitial)
			{
				if (spi.StyleName == styleName && spi.UseType == StyleInfo.UseTypes.prose)
					return true;
			}

			foreach (StyleInfo spi in m_styleInfo.Special)
			{
				if (spi.StyleName == styleName && spi.UseType == StyleInfo.UseTypes.stanzabreak)
					return true;
			}

			return false;
		}