2 writes to TemplateLoadData
PresentationFramework (2)
System\Windows\TemplateContent.cs (2)
192TemplateLoadData = new TemplateLoadData(); 297TemplateLoadData = null;
29 references to TemplateLoadData
PresentationFramework (29)
System\Windows\TemplateContent.cs (29)
198TemplateLoadData.Reader = xamlReader; 217TemplateLoadData.ObjectWriter = ObjectWriterFactory.GetXamlObjectWriter(settings); 218TemplateLoadData.ServiceProviderWrapper = new ServiceProviderWrapper(context, SchemaContext); 223TemplateLoadData.RootObject = irop.RootObject; 233Debug.Assert(TemplateLoadData.Reader != null); 236TemplateLoadData.ServiceProviderWrapper.Frames = stack; 238OwnerTemplate.StyleConnector = TemplateLoadData.RootObject as IStyleConnector; 239TemplateLoadData.RootObject = null; 252ChildName = TemplateLoadData.RootName, 286TemplateLoadData.ObjectWriter = null; 359System.Xaml.XamlReader reader = TemplateLoadData.Reader; 395TemplateLoadData.Reader = null; 418XamlObjectWriter writer = TemplateLoadData.ObjectWriter; 499if (TemplateLoadData.RootName == null && stack.Depth == 1) 501TemplateLoadData.RootName = stack.CurrentFrame.Name; 658if (TemplateLoadData.RootName == null) 660TemplateLoadData.RootName = name; 669TemplateLoadData.NamedTypes.Add(name, stack.CurrentFrame.Type); 699obj = staticResource.TryProvideValueInternal(TemplateLoadData.ServiceProviderWrapper, true/*allowDeferredReference*/, true/*mustReturnDeferredResourceReference*/); 705obj = staticResource.FindResourceInDeferredContent(TemplateLoadData.ServiceProviderWrapper, true/*allowDeferredReference*/, false/*mustReturnDeferredResourceReference*/); 782DeferredResourceReference value = (DeferredResourceReference)resource.TryProvideValueInternal(TemplateLoadData.ServiceProviderWrapper, true/*allowDeferredReference*/, true/*mustReturnDeferredResourceReference*/); 875value = converter.ConvertFrom(TemplateLoadData.ServiceProviderWrapper, CultureInfo.InvariantCulture, value); 934XamlObjectWriter writer = TemplateLoadData.ObjectWriter; 1125TemplateLoadData.ServiceProviderWrapper.SetData(_sharedDpInstance, property); 1126value = (value as MarkupExtension).ProvideValue(TemplateLoadData.ServiceProviderWrapper); 1127TemplateLoadData.ServiceProviderWrapper.Clear(); 1394return TemplateLoadData.NamedTypes[name]; 1412return TemplateLoadData.Stack; 1416TemplateLoadData.Stack = value;