2 writes to TemplateLoadData
PresentationFramework (2)
src\Framework\System\Windows\TemplateContent.cs (2)
200
TemplateLoadData
= new TemplateLoadData();
335
TemplateLoadData
= null;
29 references to TemplateLoadData
PresentationFramework (29)
src\Framework\System\Windows\TemplateContent.cs (29)
212
TemplateLoadData
.Reader = xamlReader;
231
TemplateLoadData
.ObjectWriter = ObjectWriterFactory.GetXamlObjectWriter(settings);
232
TemplateLoadData
.ServiceProviderWrapper = new ServiceProviderWrapper(context, SchemaContext);
237
TemplateLoadData
.RootObject = irop.RootObject;
247
Debug.Assert(
TemplateLoadData
.Reader != null);
250
TemplateLoadData
.ServiceProviderWrapper.Frames = stack;
252
OwnerTemplate.StyleConnector =
TemplateLoadData
.RootObject as IStyleConnector;
253
TemplateLoadData
.RootObject = null;
265
pv.ChildName =
TemplateLoadData
.RootName;
298
TemplateLoadData
.ObjectWriter = null;
425
System.Xaml.XamlReader reader =
TemplateLoadData
.Reader;
461
TemplateLoadData
.Reader = null;
484
XamlObjectWriter writer =
TemplateLoadData
.ObjectWriter;
565
if (
TemplateLoadData
.RootName == null && stack.Depth == 1)
567
TemplateLoadData
.RootName = stack.CurrentFrame.Name;
724
if (
TemplateLoadData
.RootName == null)
726
TemplateLoadData
.RootName = name;
735
TemplateLoadData
.NamedTypes.Add(name, stack.CurrentFrame.Type);
765
obj = staticResource.TryProvideValueInternal(
TemplateLoadData
.ServiceProviderWrapper, true/*allowDeferredReference*/, true/*mustReturnDeferredResourceReference*/);
771
obj = staticResource.FindResourceInDeferredContent(
TemplateLoadData
.ServiceProviderWrapper, true/*allowDeferredReference*/, false/*mustReturnDeferredResourceReference*/);
848
DeferredResourceReference value = (DeferredResourceReference)resource.TryProvideValueInternal(
TemplateLoadData
.ServiceProviderWrapper, true/*allowDeferredReference*/, true/*mustReturnDeferredResourceReference*/);
941
value = converter.ConvertFrom(
TemplateLoadData
.ServiceProviderWrapper, CultureInfo.InvariantCulture, value);
1000
XamlObjectWriter writer =
TemplateLoadData
.ObjectWriter;
1191
TemplateLoadData
.ServiceProviderWrapper.SetData(_sharedDpInstance, property);
1192
value = (value as MarkupExtension).ProvideValue(
TemplateLoadData
.ServiceProviderWrapper);
1193
TemplateLoadData
.ServiceProviderWrapper.Clear();
1445
return
TemplateLoadData
.NamedTypes[name];
1468
return
TemplateLoadData
.Stack;
1472
TemplateLoadData
.Stack = value;