Exemple #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);
        }
#pragma warning restore 1591 // Xml Comments



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