2 overrides of SerializationManager
ReachFramework (2)
Serialization\Manager\NGCSerializerAsync.cs (1)
469
SerializationManager
Serialization\Manager\ReachSerializerAsync.cs (1)
501
SerializationManager
168 references to SerializationManager
ReachFramework (168)
Serialization\Manager\NGCSerializer.cs (14)
102
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
162
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
242
NgcSerializationManager NgcManager =
SerializationManager
as NgcSerializationManager;
329
NgcSerializationManager NgcManager =
SerializationManager
as NgcSerializationManager;
333
ReachSerializer serializer =
SerializationManager
.GetSerializer(pageRootVisual);
395
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
418
ReachSerializer serializer =
SerializationManager
.GetSerializer(page);
489
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
618
ReachSerializer serializer =
SerializationManager
.GetSerializer(fixedDoc);
626
ReachSerializer serializer =
SerializationManager
.GetSerializer(idp.DocumentPaginator);
750
ReachSerializer serializer =
SerializationManager
.GetSerializer(pageContent);
827
ReachSerializer serializer =
SerializationManager
.GetSerializer(fixedPage);
831
NgcSerializationManager manager =
SerializationManager
as NgcSerializationManager;
969
ReachSerializer serializer =
SerializationManager
.GetSerializer(visual);
Serialization\Manager\ReachDocumentPageSerializer.cs (22)
56
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
61
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
80
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
85
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
101
if (
SerializationManager
is IXpsSerializationManager)
103
(
SerializationManager
as IXpsSerializationManager).RegisterPageStart();
116
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedPage));
122
if (
SerializationManager
.Language != null)
124
XmlWriter.WriteAttributeString(XpsS0Markup.XmlLang,
SerializationManager
.Language.ToString());
136
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
146
((IXpsSerializationManager)
SerializationManager
).FixedPageSize = size;
159
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
165
((XpsSerializationManager)
SerializationManager
).PackagingPolicy.PreCommitCurrentPage();
175
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = null;
179
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = null;
181
((IXpsSerializationManager)
SerializationManager
).VisualSerializationService.ReleaseVisualTreeFlattener();
183
if(
SerializationManager
is IXpsSerializationManager)
185
(
SerializationManager
as IXpsSerializationManager).RegisterPageEnd();
196
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
201
ReachSerializer serializer =
SerializationManager
.GetSerializer(child);
226
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
235
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
98
ReachSerializer serializer =
SerializationManager
.GetSerializer(documentReference);
Serialization\Manager\ReachDocumentReferenceSerializer.cs (1)
74
ReachSerializer serializer =
SerializationManager
.GetSerializer(document);
Serialization\Manager\ReachDocumentSequenceSerializer.cs (11)
51
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedDocumentSequence));
53
if(
SerializationManager
is XpsSerializationManager)
55
(
SerializationManager
as XpsSerializationManager).RegisterDocumentSequenceStart();
78
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
87
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
112
if(
SerializationManager
is XpsSerializationManager)
114
(
SerializationManager
as XpsSerializationManager).RegisterDocumentSequenceEnd();
116
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
131
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedDocumentSequence));
140
SerializationManager
.ReleaseXmlWriter(typeof(FixedDocumentSequence));
186
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
Serialization\Manager\ReachFixedDocumentSerializer.cs (19)
74
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>();
76
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>();
81
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>();
111
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>();
113
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>();
118
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>();
139
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedDocument));
141
if(
SerializationManager
is XpsSerializationManager)
143
(
SerializationManager
as XpsSerializationManager).RegisterDocumentStart();
163
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
172
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
188
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = null;
190
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = null;
204
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
206
if(
SerializationManager
is XpsSerializationManager)
208
(
SerializationManager
as XpsSerializationManager).RegisterDocumentEnd();
266
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
304
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedDocument));
313
SerializationManager
.ReleaseXmlWriter(typeof(FixedDocument));
Serialization\Manager\ReachFixedPageSerializer.cs (29)
79
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
84
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
89
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageResourceDictionaryTable = new Dictionary<int, Uri>();
119
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
124
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
129
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageResourceDictionaryTable = new Dictionary<int, Uri>();
152
if (
SerializationManager
is IXpsSerializationManager)
154
(
SerializationManager
as IXpsSerializationManager).RegisterPageStart();
162
String xmlnsForType =
SerializationManager
.GetXmlNSForType(serializableObjectContext.TargetObject.GetType());
182
SerializationManager
.Language = language;
188
((IXpsSerializationManager)
SerializationManager
).FixedPageSize = fixedPageSize;
205
PrintTicket printTicket = ((IXpsSerializationManager)
SerializationManager
).FixedPagePrintTicket;
209
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
211
((IXpsSerializationManager)
SerializationManager
).FixedPagePrintTicket = null;
223
XmlWriter pageWriter = ((XpsSerializationManager)
SerializationManager
).
226
XmlWriter resWriter = ((XpsSerializationManager)
SerializationManager
).
230
VisualTreeFlattener flattener = ((IXpsSerializationManager)
SerializationManager
).
240
((XpsSerializationManager)
SerializationManager
).PackagingPolicy.PreCommitCurrentPage();
255
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = null;
259
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = null;
263
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageResourceDictionaryTable = null;
265
((IXpsSerializationManager)
SerializationManager
).VisualSerializationService.ReleaseVisualTreeFlattener();
267
if (
SerializationManager
is IXpsSerializationManager)
269
(
SerializationManager
as IXpsSerializationManager).RegisterPageEnd();
281
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
339
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
377
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
386
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
402
ReachVisualSerializer serializer = new ReachVisualSerializer(
SerializationManager
);
Serialization\Manager\ReachIDocumentPaginatorSerializer.cs (18)
54
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>();
56
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>();
61
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>();
77
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedDocument));
80
if(
SerializationManager
is XpsSerializationManager)
82
(
SerializationManager
as XpsSerializationManager).RegisterDocumentStart();
100
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
109
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
130
SerializationManager
.Language = language;
136
ReachSerializer serializer =
SerializationManager
.GetSerializer(page);
150
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = null;
152
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = null;
156
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = null;
166
if(
SerializationManager
is XpsSerializationManager)
168
(
SerializationManager
as XpsSerializationManager).RegisterDocumentEnd();
170
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
185
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedDocument));
194
SerializationManager
.ReleaseXmlWriter(typeof(FixedDocument));
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
133
ReachSerializer serializer =
SerializationManager
.GetSerializer(pageContent);
Serialization\Manager\ReachPageContentSerializer.cs (3)
79
ReachSerializer serializer =
SerializationManager
.GetSerializer(fixedPage);
88
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
97
((IXpsSerializationManager)
SerializationManager
).FixedPagePrintTicket = printTicket;
Serialization\Manager\ReachPrintTicketSerializer.cs (2)
86
if ((IXpsSerializationManager)
SerializationManager
!= null)
88
SerializationManager
.
Serialization\Manager\ReachSerializationUtils.cs (1)
756
_serializationManager = serializer.
SerializationManager
;
Serialization\Manager\ReachSerializer.cs (11)
84
if (
SerializationManager
== null)
100
SerializationManager
.GraphContextStack.Push(serializableObjectContext);
111
SerializationManager
.GraphContextStack.Pop();
144
if (
SerializationManager
== null)
161
SerializationManager
.GraphContextStack.Push(serializableObjectContext);
172
SerializationManager
.GraphContextStack.Pop();
278
serializableObjectParentContext = (SerializableObjectContext)
SerializationManager
.
284
SerializableObjectContext.CreateContext(
SerializationManager
,
292
if(
SerializationManager
.RootSerializableObjectContext == null)
294
SerializationManager
.RootSerializableObjectContext = serializableObjectContext;
355
ReachSerializer serializer =
SerializationManager
.GetSerializer(serializablePropertyContext.Value);
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
154
ReachSerializer serializer =
SerializationManager
.GetSerializer(visual);
Serialization\Manager\ReachVisualSerializer.cs (12)
63
if((IXpsSerializationManager)
SerializationManager
!= null)
65
XmlWriter pageWriter =
SerializationManager
.
68
XmlWriter resWriter =
SerializationManager
.
103
Size fixedPageSize = ((IXpsSerializationManager)
SerializationManager
).FixedPageSize;
105
VisualTreeFlattener flattener = ((IXpsSerializationManager)
SerializationManager
).
165
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
174
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
199
if ((IXpsSerializationManager)
SerializationManager
!= null)
201
XmlWriter pageWriter =
SerializationManager
.
204
XmlWriter resWriter =
SerializationManager
.
207
Size fixedPageSize = ((IXpsSerializationManager)
SerializationManager
).FixedPageSize;
209
VisualTreeFlattener flattener = ((IXpsSerializationManager)
SerializationManager
).
Serialization\Manager\XpsOMDocumentPageSerializer.cs (8)
134
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
148
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedPage));
154
if (
SerializationManager
.Language != null)
156
XmlWriter.WriteAttributeString(XpsS0Markup.XmlLang,
SerializationManager
.Language.ToString());
201
IXpsSerializationManager xpsSerializationManager = ((IXpsSerializationManager)
SerializationManager
);
226
ReachSerializer serializer =
SerializationManager
.GetSerializer(child);
257
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
266
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
Serialization\Manager\XpsOMDocumentPaginatorSerializer.cs (3)
92
ReachSerializer serializer =
SerializationManager
.GetSerializer(page);
125
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
149
SerializationManager
.Language = language;
Serialization\Manager\XpsOMFixedDocumentSerializer.cs (1)
141
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
Serialization\Manager\XpsOMFixedPageSerializer.cs (10)
141
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
152
String xmlnsForType =
SerializationManager
.GetXmlNSForType(serializableObjectContext.TargetObject.GetType());
172
SerializationManager
.Language = language;
202
XmlWriter pageWriter =
SerializationManager
.
205
XmlWriter resWriter =
SerializationManager
.
217
SerializationManager
.PackagingPolicy.PreCommitCurrentPage();
297
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
335
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
344
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
360
ReachVisualSerializer serializer = new ReachVisualSerializer(
SerializationManager
);