Example #1
0
		public void AddToListOfInfoAddOnToProcess (InformationenAddOn Entry)
			{
		    int ChapterIndex = 0;
		    bool InsertedBefore = false;
		    foreach (ChapterBase Base in UsedChapterBase)
		        {
		        if (Base.InformationenAddOnLinkedWithThisChapter.Contains(Entry))
		            {
		            InsertedBefore = true;
                    break;
		            }
                ChapterIndex++;
                }
            if (InsertedBefore)
		        return;
		    ChapterBase ChapterToProcess = new ChapterBase(ChapterIndex) { ChapterName = Entry.GetChapterText () };
			ChapterToProcess.InformationenAddOnLinkedWithThisChapter.Add(Entry);
			UsedChapterBase.Add(ChapterToProcess);
			JoinResourcesUsed();
			}