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