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; }
internal MixedCodeDocumentTextFragment(MixedCodeDocument doc) : base(doc, MixedCodeDocumentFragmentType.Text) { }
internal MixedCodeDocumentFragmentList(MixedCodeDocument doc) { _doc = doc; }
internal MixedCodeDocumentCodeFragment(MixedCodeDocument doc) : base(doc, MixedCodeDocumentFragmentType.Code) { }