Example #1
0
 public void BeginList(eListBracketing pBracketing, cCommandPart pPrefix = null, cCommandPart pPostfix = null)
 {
     if (mList != null)
     {
         mLists.Push(mList);
     }
     mList = new cList(pBracketing, pPrefix, pPostfix);
 }
Example #2
0
 public cList(eListBracketing pBracketing, cCommandPart pPrefix, cCommandPart pPostix)
 {
     Bracketing = pBracketing;
     Prefix     = pPrefix;
     Postfix    = pPostix;
     mParts     = new List <cCommandPart>();
     mAddCount  = 0;
     Parts      = new ReadOnlyCollection <cCommandPart>(mParts);
 }