示例#1
0
        public override TextNote ConvertToTextNote()
        {
            TextNote newNote = new TextNote()
            {
                ExplicitName = this.ExplicitName,
                IsExpanded   = this.IsExpanded,
                IsSelected   = this.IsSelected
            };

            newNote.Ideas = Ideas;

            newNote.AddParagraph(GetPlotString());
            newNote.AddParagraph(string.Empty);
            foreach (var line in CharacterConflict.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }
            newNote.AddParagraph(string.Empty);
            foreach (var line in Backgrounds.GetSummary(0).Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }
            newNote.AddParagraph(string.Empty);
            foreach (var line in Resolutions.GetSummary(0).Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }
            newNote.AddParagraph(string.Empty);
            foreach (var line in Traits.GetSummary(0).Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }
            newNote.AddParagraph(string.Empty);
            foreach (var line in Settings.GetSummary(0).Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }
            newNote.AddParagraph(string.Empty);
            foreach (var line in Themes.GetSummary(0).Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }
            newNote.AddParagraph(string.Empty);
            foreach (var line in Genres.GetSummary(0).Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
            {
                newNote.AddParagraph(line);
            }

            return(newNote);
        }