public NotenizerNoteRule() : base() { _sentencesTerminators = null; }
/// <summary> /// Gets sentence terminators from array. /// </summary> /// <param name="persistedSentencesTerminators"></param> /// <returns></returns> public static SentencesTerminators ParseSentencesTerminators(BsonArray persistedSentencesTerminators) { SentencesTerminators sentencesTerminators = new SentencesTerminators(); foreach (BsonInt32 terminatorLoop in persistedSentencesTerminators) sentencesTerminators.Add((int)terminatorLoop); return sentencesTerminators; }
public NotenizerNoteRule(String id, String structureId, DateTime createdAt, DateTime updatedAt, SentencesTerminators sentencesTerminators) : base(id, structureId, createdAt, updatedAt) { this._sentencesTerminators = sentencesTerminators; }