SIL.FieldWorks.FDO.FDOTests.FdoTestHelper.CreatePuncForm C# (CSharp) Method

CreatePuncForm() private static method

Creates the requested punctuation form and adds it to the segment's analyses.
private static CreatePuncForm ( ISegment segment, ITsString form ) : void
segment ISegment The segment.
form ITsString The form.
return void
		private static void CreatePuncForm(ISegment segment, ITsString form)
		{
			IPunctuationForm puncForm = segment.Services.GetInstance<IPunctuationFormFactory>().Create();
			segment.AnalysesRS.Add(puncForm);
			puncForm.Form = form;
		}