1 write to Writer
System.Activities (1)
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
242this.Writer = writer;
67 references to Writer
System.Activities (67)
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (67)
328if (Writer.currentDepth == 0 && !this.wroteXamlNamespace) 348if (Writer.currentDepth == 1) 355activityXamlType = Writer.SchemaContext.GetXamlType(typeof(Activity)); 362activityXamlType = Writer.SchemaContext.GetXamlType(typeof(Activity<>).MakeGenericType(activityType)); 365Writer.SetActivityType(activityXamlType, xamlType); 369Writer.PushState(new BuilderClassNode(this, Writer)); 383base.CurrentWriter = this.Writer.innerWriter; 384if (!Writer.notRewriting) 401XamlWriter writer = this.Writer.innerWriter; 428XamlServices.Transform(this.pendingNodes.Reader, this.Writer.innerWriter, false); 476this.xClassNodes = new XamlNodeQueue(Writer.SchemaContext); 503this.xClassXamlType = new XamlType(this.xClassNamespace, xClassName, null, Writer.SchemaContext); 529CurrentWriter = this.Writer.innerWriter; 540CurrentWriter.WriteStartObject(this.Writer.activityXamlType); 580deferredPropertyNodes = new XamlNodeQueue(Writer.SchemaContext); 625if (Writer.currentDepth == this.Depth + 1 && !xamlMember.IsAttachable) 627if (xamlMember == Writer.activityBuilderName) 631Writer.PushState(new BuilderNameNode(this, Writer)); 634else if (xamlMember == Writer.activityBuilderAttributes) 637Writer.PushState(new AttributesNode(this, Writer)); 640else if (xamlMember == Writer.activityBuilderProperties) 643Writer.PushState(new PropertiesNode(this, Writer)); 650if (xamlMember.DeclaringType == Writer.activityBuilderXamlType) 653xamlMember = Writer.activityXamlType.GetMember(xamlMember.Name); 662Writer.PushState(new ImplementationNode(Writer)); 693if (Writer.currentDepth == this.Depth) 743if (xamlType == Writer.activityPropertyXamlType && Writer.currentDepth == this.Depth + 3) 746Writer.PushState(new PropertyNode(this, Writer)); 753if (Writer.currentDepth == this.Depth + 1) 765if (this.skipGetObject && Writer.currentDepth == this.Depth + 1) 777if (this.skipGetObject && Writer.currentDepth == this.Depth + 2) 786if (this.skipGetObject && Writer.currentDepth == this.Depth + 2) 847if (xamlMember.DeclaringType == Writer.activityPropertyXamlType && Writer.currentDepth == this.Depth + 1) 849if (xamlMember == Writer.activityPropertyName) 852Writer.PushState(new PropertyNameNode(this, Writer)); 855else if (xamlMember == Writer.activityPropertyType) 858Writer.PushState(new PropertyTypeNode(this, Writer)); 861else if (xamlMember == Writer.activityPropertyValue) 865Writer.PushState(new PropertyValueNode(this, Writer)); 983if (Writer.currentDepth == this.Depth) 1006if (Writer.currentDepth == this.Depth) 1009XamlTypeName xamlTypeName = XamlTypeName.Parse(value as string, Writer.namespaceTable); 1010XamlType xamlType = Writer.SchemaContext.GetXamlType(xamlTypeName); 1076else if (xamlMember == Writer.activityBuilderPropertyReference || xamlMember == Writer.activityBuilderPropertyReferences) 1079Writer.PushState(new PropertyReferencesNode(Writer, xamlMember, this)); 1214this.untransformedNodes = new XamlNodeQueue(Writer.SchemaContext); 1228if (xamlType == Writer.activityPropertyReferenceXamlType) 1230Writer.PushState(new PropertyReferenceNode(this.Writer, this)); 1240if (Writer.currentDepth != this.Depth) 1279if (Writer.currentDepth == this.Depth + 1 // SM 1280&& xamlMember.DeclaringType == Writer.activityPropertyReferenceXamlType) 1309if (Writer.currentDepth == this.Depth + 1) 1323this.parent.UntransformedNodesWriter.WriteStartObject(Writer.activityPropertyReferenceXamlType);