Пример #1
0
#pragma warning restore 1591 // Xml Comments



        ChapterHolder GetChapterHolderFromChapter(IChapter chapter)
        {
            var chapterHolder = new ChapterHolder
            {
                Type = chapter.GetType().AssemblyQualifiedName,
                SerializedChapter = _serializer.ToJson(chapter)
            };

            return(chapterHolder);
        }
Пример #2
0
#pragma warning restore 1591 // Xml Comments



        ChapterHolder GetChapterHolderFromChapter(IChapter chapter)
		{
			var chapterHolder = new ChapterHolder
			                    	{
			                    		Type = chapter.GetType().AssemblyQualifiedName,
			                    		SerializedChapter = _serializer.ToJson(chapter)
			                    	};
			return chapterHolder;
		}