2 writes to TemplateLoadData
PresentationFramework (2)
System\Windows\TemplateContent.cs (2)
195
TemplateLoadData
= new TemplateLoadData();
298
TemplateLoadData
= null;
29 references to TemplateLoadData
PresentationFramework (29)
System\Windows\TemplateContent.cs (29)
201
TemplateLoadData
.Reader = xamlReader;
220
TemplateLoadData
.ObjectWriter = ObjectWriterFactory.GetXamlObjectWriter(settings);
221
TemplateLoadData
.ServiceProviderWrapper = new ServiceProviderWrapper(context, SchemaContext);
226
TemplateLoadData
.RootObject = irop.RootObject;
236
Debug.Assert(
TemplateLoadData
.Reader != null);
239
TemplateLoadData
.ServiceProviderWrapper.Frames = stack;
241
OwnerTemplate.StyleConnector =
TemplateLoadData
.RootObject as IStyleConnector;
242
TemplateLoadData
.RootObject = null;
254
pv.ChildName =
TemplateLoadData
.RootName;
287
TemplateLoadData
.ObjectWriter = null;
360
System.Xaml.XamlReader reader =
TemplateLoadData
.Reader;
396
TemplateLoadData
.Reader = null;
419
XamlObjectWriter writer =
TemplateLoadData
.ObjectWriter;
500
if (
TemplateLoadData
.RootName == null && stack.Depth == 1)
502
TemplateLoadData
.RootName = stack.CurrentFrame.Name;
659
if (
TemplateLoadData
.RootName == null)
661
TemplateLoadData
.RootName = name;
670
TemplateLoadData
.NamedTypes.Add(name, stack.CurrentFrame.Type);
700
obj = staticResource.TryProvideValueInternal(
TemplateLoadData
.ServiceProviderWrapper, true/*allowDeferredReference*/, true/*mustReturnDeferredResourceReference*/);
706
obj = staticResource.FindResourceInDeferredContent(
TemplateLoadData
.ServiceProviderWrapper, true/*allowDeferredReference*/, false/*mustReturnDeferredResourceReference*/);
783
DeferredResourceReference value = (DeferredResourceReference)resource.TryProvideValueInternal(
TemplateLoadData
.ServiceProviderWrapper, true/*allowDeferredReference*/, true/*mustReturnDeferredResourceReference*/);
876
value = converter.ConvertFrom(
TemplateLoadData
.ServiceProviderWrapper, CultureInfo.InvariantCulture, value);
935
XamlObjectWriter writer =
TemplateLoadData
.ObjectWriter;
1126
TemplateLoadData
.ServiceProviderWrapper.SetData(_sharedDpInstance, property);
1127
value = (value as MarkupExtension).ProvideValue(
TemplateLoadData
.ServiceProviderWrapper);
1128
TemplateLoadData
.ServiceProviderWrapper.Clear();
1381
return
TemplateLoadData
.NamedTypes[name];
1399
return
TemplateLoadData
.Stack;
1403
TemplateLoadData
.Stack = value;