Пример #1
0
        private void ProcessPostData(String line)
        {
            String postData = line.Substring(5);
            if (postData[0] == '[' && postData[postData.Length - 1] == ']')
                postData = postData.Substring(1, postData.Length - 2);

            var ps = new BookPostscript(_curBook,
                                        _bible.GetNextVerseId(), postData);
            _curBook.SetPostscript(ps);
            _bible.NonVerses.Add(ps);
        }
Пример #2
0
        // Methods
        public void SetPostscript(BookPostscript postscript)
        {
            if(postscript == null)
                throw new ArgumentNullException("postscript");

            _postscript = postscript;
        }