Generate Placekeeper logic

This commit is contained in:
2014-05-09 19:18:15 +00:00
parent f120b73883
commit b4a055327a
5 changed files with 397 additions and 30 deletions

View File

@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Volian.Print.Library
{
public class pkParagraph
{
private vlnParagraph _MyParagraph;
public vlnParagraph MyParagraph
{
get { return _MyParagraph; }
}
private pkParagraphs _MyChildren;
public pkParagraphs MyChildren
{
get { return _MyChildren; }
}
private pkParagraphs _MyCautionsAndNotes;
public pkParagraphs MyCautionsAndNotes
{
get { return _MyCautionsAndNotes; }
}
public pkParagraph(vlnParagraph myParagraph)
{
_MyParagraph = myParagraph;
_MyChildren = new pkParagraphs();
_MyCautionsAndNotes = new pkParagraphs();
}
public pkParagraph AddChild(vlnParagraph myParagraph)
{
pkParagraph tmp = new pkParagraph(myParagraph);
_MyChildren.Add(tmp);
return tmp;
}
public pkParagraph AddCautionsAndNotes(vlnParagraph myParagraph)
{
pkParagraph tmp = new pkParagraph(myParagraph);
_MyCautionsAndNotes.Add(tmp);
return tmp;
}
}
public class pkParagraphs:List<pkParagraph>
{
}
}