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