1 type derived from ActivityMarkupSerializer
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\CompositeActivityMarkupSerializer.cs (1)
12
public class CompositeActivityMarkupSerializer :
ActivityMarkupSerializer
1 instantiation of ActivityMarkupSerializer
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\ActivityMarkupSerializationProvider.cs (1)
29
return new
ActivityMarkupSerializer
();
25 references to ActivityMarkupSerializer
System.Workflow.ComponentModel (25)
AuthoringOM\Activity.cs (1)
132
[DesignerSerializer(typeof(
ActivityMarkupSerializer
), typeof(WorkflowMarkupSerializer))]
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
165
ActivityMarkupSerializer
.ReplaceChildActivities(activity as CompositeActivity, instance2 as CompositeActivity);
AuthoringOM\Serializer\ActivityCodeDomSerializer.cs (2)
50
(int)activity.GetValue(
ActivityMarkupSerializer
.StartLineProperty) != -1)
55
statement.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)activity.GetValue(
ActivityMarkupSerializer
.StartLineProperty), 1));
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (15)
28
public static readonly DependencyProperty StartLineProperty = DependencyProperty.RegisterAttached("StartLine", typeof(int), typeof(
ActivityMarkupSerializer
), new PropertyMetadata(minusOne, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
29
public static readonly DependencyProperty StartColumnProperty = DependencyProperty.RegisterAttached("StartColumn", typeof(int), typeof(
ActivityMarkupSerializer
), new PropertyMetadata(minusOne, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
30
public static readonly DependencyProperty EndLineProperty = DependencyProperty.RegisterAttached("EndLine", typeof(int), typeof(
ActivityMarkupSerializer
), new PropertyMetadata(minusOne, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
31
public static readonly DependencyProperty EndColumnProperty = DependencyProperty.RegisterAttached("EndColumn", typeof(int), typeof(
ActivityMarkupSerializer
), new PropertyMetadata(minusOne, new Attribute[] { new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
78
activity.SetValue(
ActivityMarkupSerializer
.StartLineProperty, startLine);
79
activity.SetValue(
ActivityMarkupSerializer
.EndLineProperty, startLine);
82
activity.SetValue(
ActivityMarkupSerializer
.EndColumnProperty, currentIndex);
83
activity.SetValue(
ActivityMarkupSerializer
.StartColumnProperty, (currentXoml.IndexOf('<', currentIndex) - currentIndex + 1));
139
activity.SetValue(
ActivityMarkupSerializer
.StartLineProperty, startLine);
140
activity.SetValue(
ActivityMarkupSerializer
.StartColumnProperty, startColumn);
141
activity.SetValue(
ActivityMarkupSerializer
.EndLineProperty, endLine);
142
activity.SetValue(
ActivityMarkupSerializer
.EndColumnProperty, endColumn);
170
int lineStartIndex = (int)activity.GetValue(
ActivityMarkupSerializer
.EndColumnProperty);
174
activity.SetValue(
ActivityMarkupSerializer
.EndColumnProperty, (currentXoml.Length - lineStartIndex - 1));
176
activity.SetValue(
ActivityMarkupSerializer
.EndColumnProperty, lastNewLine - lineStartIndex);
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
122
(int)activity.GetValue(
ActivityMarkupSerializer
.StartLineProperty) != -1 &&
126
field.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)activity.GetValue(
ActivityMarkupSerializer
.StartLineProperty), 1));
Shared\XomlSerializationHelpers.cs (4)
337
activityTypeDeclaration.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(
ActivityMarkupSerializer
.StartLineProperty), 1));
355
constructor.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(
ActivityMarkupSerializer
.StartLineProperty), 1));
358
method.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(
ActivityMarkupSerializer
.StartLineProperty), 1));
373
codeNamespaceImport.LinePragma = new CodeLinePragma((string)rootActivity.GetValue(ActivityCodeDomSerializer.MarkupFileNameProperty), Math.Max((int)rootActivity.GetValue(
ActivityMarkupSerializer
.StartLineProperty), 1));