public ChildNode(XmlContainerReference.ChildNode other) { this.type = other.type; this.text = other.text; }
public ChildNode(XmlContainerReference.ChildType type, XmlContainerReference parent, Microsoft.Expression.DesignModel.Markup.Xml.Node node) { this.type = type; this.sourceContext = (XamlSourceContext) new UnprocessedNodeReference(parent, node.SourceContext); this.text = node.SourceContext.SourceText; }