public override void WriteTo(XamlWriter writer) { Log("GetObject"); writer.WriteGetObject(); Debug.Indent(); foreach (XamlNode node in this.Children) node.WriteTo(writer); Debug.Unindent(); Log("EndObject"); writer.WriteEndObject(); }
void WritePropertyReferenceCollection(XamlNodeQueue serializedReferences, XamlWriter targetWriter, IXamlLineInfo lineInfo) { targetWriter.WriteStartMember(this.activityBuilderPropertyReferencesMember, lineInfo); targetWriter.WriteGetObject(lineInfo); targetWriter.WriteStartMember(XamlLanguage.Items, lineInfo); XamlServices.Transform(serializedReferences.Reader, targetWriter, false); targetWriter.WriteEndMember(lineInfo); targetWriter.WriteEndObject(lineInfo); targetWriter.WriteEndMember(lineInfo); }