internal MixedCodeDocumentFragment(MixedCodeDocument doc, MixedCodeDocumentFragmentType type)
        {
            Doc   = doc;
            _type = type;
            switch (type)
            {
            case MixedCodeDocumentFragmentType.Text:
                Doc._textfragments.Append(this);
                break;

            case MixedCodeDocumentFragmentType.Code:
                Doc._codefragments.Append(this);
                break;
            }
            Doc._fragments.Append(this);
        }
 internal MixedCodeDocumentFragmentList(MixedCodeDocument doc)
 {
     _doc = doc;
 }
Exemplo n.º 3
0
 internal MixedCodeDocumentCodeFragment(MixedCodeDocument doc)
     :
     base(doc, MixedCodeDocumentFragmentType.Code)
 {
 }
 internal MixedCodeDocumentFragmentList(MixedCodeDocument doc)
 {
     _doc = doc;
 }
Exemplo n.º 5
0
 internal MixedCodeDocumentTextFragment(MixedCodeDocument doc)
     :
     base(doc, MixedCodeDocumentFragmentType.Text)
 {
 }
 internal MixedCodeDocumentTextFragment(MixedCodeDocument doc)
     :
         base(doc, MixedCodeDocumentFragmentType.Text)
 {
 }