// Token: 0x060020EF RID: 8431 RVA: 0x0009759C File Offset: 0x0009579C public void WritePresentationOptionsAttribute(string name, string value) { this.VerifyWriteState(); XamlPresentationOptionsAttributeNode xamlPresentationOptionsNode = new XamlPresentationOptionsAttributeNode(0, 0, this._depth, name, value); this._bamlRecordWriter.WritePresentationOptionsAttribute(xamlPresentationOptionsNode); }
/// <summary> /// Write an attribute in the PresentationOptions namespace. /// </summary> /// <remarks> /// This is really a processing directive, rather than an actual property. /// It is used to define WPF-specific parsing options (e.g., PresentationOptions:Freeze) /// </remarks> public void WritePresentationOptionsAttribute( string name, string value) { VerifyWriteState(); XamlPresentationOptionsAttributeNode defNode = new XamlPresentationOptionsAttributeNode( 0, 0, _depth, name, value); _bamlRecordWriter.WritePresentationOptionsAttribute(defNode); }