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