Generate Placekeeper logic
This commit is contained in:
46
PROMS/Volian.Print.Library/pkParagraph.cs
Normal file
46
PROMS/Volian.Print.Library/pkParagraph.cs
Normal 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>
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user