Implemented interface member:
property
Context
System.ComponentModel.Design.Serialization.IDesignerSerializationManager.Context
47 references to Context
System.Workflow.Activities (1)
Designers\StateDesignerConnector.cs (1)
280
FreeformActivityDesigner freeformDesigner = serializationManager.
Context
[typeof(FreeformActivityDesigner)] as FreeformActivityDesigner;
System.Workflow.ComponentModel (46)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (2)
56
CompositeActivityDesigner parentDesigner = serializationManager.
Context
[typeof(CompositeActivityDesigner)] as CompositeActivityDesigner;
211
FreeformActivityDesigner freeformDesigner = serializationManager.
Context
[typeof(FreeformActivityDesigner)] as FreeformActivityDesigner;
AuthoringOM\Design\ComponentSerializationService.cs (7)
206
xomlSerializationManager.
Context
.Current is Activity
208
WorkflowMarkupSerializationHelpers.ProcessDefTag(xomlSerializationManager, eventArgs.XmlReader, xomlSerializationManager.
Context
.Current as Activity, true, string.Empty);
255
xomlSerializationManager.
Context
.Push(obj);
258
System.Diagnostics.Debug.Assert(obj == xomlSerializationManager.
Context
.Current, "Serialization Store did not remove object which it pushed onto the stack.");
259
xomlSerializationManager.
Context
.Pop();
314
xomlSerializationManager.
Context
.Push(new StringWriter(CultureInfo.InvariantCulture));
344
xomlSerializationManager.
Context
.Pop();
AuthoringOM\Design\Themes.cs (1)
966
return Activator.CreateInstance(type, new object[] { serializationManager.
Context
[typeof(WorkflowTheme)] });
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (2)
102
if (instance is Activity && (serializationManager.
Context
[typeof(Activity)] == null && serializationManager.
Context
[typeof(WorkflowCompilerParameters)] != null))
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (1)
194
object extendee = manager.
Context
.Current;
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (3)
123
serializationManager.
Context
.Push(serializableProperty);
163
Debug.Assert((PropertyInfo)serializationManager.
Context
.Current == serializableProperty, "Serializer did not remove an object it pushed into stack.");
164
serializationManager.
Context
.Pop();
AuthoringOM\Serializer\PropertySegmentSerializer.cs (2)
35
return Activator.CreateInstance(type, new object[] { serializationManager as IServiceProvider, serializationManager.
Context
.Current });
146
PropertySegmentPropertyInfo propertyInfo = serializationManager.
Context
[typeof(PropertySegmentPropertyInfo)] as PropertySegmentPropertyInfo;
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (2)
79
this.
Context
.Push(objectToPush);
85
if (this.
Context
.Pop() != null)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (22)
77
string fileName = markupSerializationManager.
Context
[typeof(string)] as string;
84
WorkflowMarkupSerializationHelpers.ProcessDefTag(markupSerializationManager, eventArgs.XmlReader, markupSerializationManager.
Context
.Current as Activity, false, fileName);
252
Debug.Assert(serializationManager.
Context
.Current == obj, "Serializer did not remove an object it pushed into stack.");
358
Debug.Assert(serializationManager.
Context
.Current == dependencyProperty, "Serializer did not remove an object it pushed into stack.");
374
Debug.Assert((PropertyInfo)serializationManager.
Context
.Current == property, "Serializer did not remove an object it pushed into stack.");
390
Debug.Assert((EventInfo)serializationManager.
Context
.Current == evt, "Serializer did not remove an object it pushed into stack.");
479
Debug.Assert(serializationManager.
Context
.Current == dependencyProperty, "Serializer did not remove an object it pushed into stack.");
493
Debug.Assert((PropertyInfo)serializationManager.
Context
.Current == property, "Serializer did not remove an object it pushed into stack.");
577
Debug.Assert(serializationManager.
Context
.Current == obj, "Serializer did not remove an object it pushed into stack.");
825
Activity activity = serializationManager.
Context
[typeof(Activity)] as Activity;
937
Debug.Assert(serializationManager.
Context
.Current == propertyObj, "Serializer did not remove an object it pushed into stack.");
1154
PropertyInfo property = serializationManager.
Context
.Current as PropertyInfo;
1799
DependencyProperty dependencyProperty = serializationManager.
Context
.Current as DependencyProperty;
1800
PropertyInfo property = serializationManager.
Context
.Current as PropertyInfo;
1913
DependencyProperty dependencyProperty = serializationManager.
Context
.Current as DependencyProperty;
1914
PropertyInfo property = serializationManager.
Context
.Current as PropertyInfo;
1944
EventInfo evt = serializationManager.
Context
.Current as EventInfo;
1945
DependencyProperty dependencyEvent = serializationManager.
Context
.Current as DependencyProperty;
1976
DependencyProperty dependencyProperty = serializationManager.
Context
.Current as DependencyProperty;
1991
EventInfo evt = serializationManager.
Context
.Current as EventInfo;
2007
PropertyInfo property = serializationManager.
Context
.Current as PropertyInfo;
2642
Debug.Assert((PropertyInfo)serializationManager.
Context
.Current == property, "Serializer did not remove an object it pushed into stack.");
Shared\XomlSerializationHelpers.cs (4)
75
xomlSerializationManager.
Context
.Push(fileName);
81
xomlSerializationManager.
Context
.Pop();
95
xomlSerializationManager.
Context
.Push(fileName);
101
xomlSerializationManager.
Context
.Pop();