public PluralizedStaticTextBuilder AddIntervalText(IntervalText intervalText) { if (m_baseTextBuilder.CurrentInstance().IntervalTexts.Contains(intervalText)) { throw new BuilderException("IntervalText already exists"); } NullCheck.Check(intervalText); NullCheck.Check(m_baseTextBuilder.CurrentInstance().IntervalTexts); m_baseTextBuilder.CurrentInstance().IntervalTexts.Add(intervalText); return(this); }
public IntervalTextBuilder() { m_intervalText = new IntervalText(); }