6 types derived from XamlWriter
System.Xaml (5)
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
19
internal class DeferringWriter :
XamlWriter
, IXamlLineInfoConsumer
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
20
public class XamlObjectWriter :
XamlWriter
, IXamlLineInfoConsumer, IAddLineInfo, ICheckIfInitialized
System\Xaml\WriterDelegate.cs (1)
13
class WriterDelegate :
XamlWriter
, IXamlLineInfoConsumer
System\Xaml\XamlMarkupExtensionWriter.cs (1)
11
class XamlMarkupExtensionWriter :
XamlWriter
System\Xaml\XamlXmlWriter.cs (1)
16
public class XamlXmlWriter :
XamlWriter
System.Xaml.Tests (1)
System\Xaml\XamlWriterTests.cs (1)
119
private class SubXamlWriter :
XamlWriter
72 references to XamlWriter
PresentationFramework (7)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (5)
31
private
XamlWriter
_xamlNodesWriter;
32
private Stack<
XamlWriter
> _xamlWriterStack = new Stack<
XamlWriter
>();
359
XamlWriter
oldQueueWriter = _xamlNodesWriter;
802
XamlWriter
writer = GetLastStaticResource().ResourceNodeList.Writer;
System\Windows\TemplateContent.cs (2)
358
System.Xaml.
XamlWriter
writer = _xamlNodeList.Writer;
1192
private void WriteNamespaces(System.Xaml.
XamlWriter
writer,
System.Xaml (11)
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
25
XamlWriter
_deferredWriter;
System\Xaml\WriterDelegate.cs (1)
119
ObjectDisposedException.ThrowIf(IsDisposed, typeof(
XamlWriter
)); // Can't say ReaderMultiIndexDelegate because its internal.
System\Xaml\XamlBackgroundReader.cs (2)
30
XamlWriter
_writer;
236
private void InterruptableTransform(XamlReader reader,
XamlWriter
writer, bool closeWriter)
System\Xaml\XamlNodeList.cs (2)
19
XamlWriter
_writer;
48
public
XamlWriter
Writer
System\Xaml\XamlNodeQueue.cs (2)
20
XamlWriter
_writer;
44
public
XamlWriter
Writer
System\Xaml\XamlServices.cs (3)
89
public static void Transform(XamlReader xamlReader,
XamlWriter
xamlWriter)
95
public static void Transform(XamlReader xamlReader,
XamlWriter
xamlWriter, bool closeWriter)
186
public static void Save(
XamlWriter
writer, object instance)
System.Xaml.Tests (54)
System\Xaml\XamlNodeListTests.cs (24)
233
XamlWriter
writer = list.Writer;
242
XamlWriter
writer = list.Writer;
262
XamlWriter
writer = list.Writer;
272
XamlWriter
writer = list.Writer;
292
XamlWriter
writer = list.Writer;
302
XamlWriter
writer = list.Writer;
322
XamlWriter
writer = list.Writer;
332
XamlWriter
writer = list.Writer;
352
XamlWriter
writer = list.Writer;
362
XamlWriter
writer = list.Writer;
382
XamlWriter
writer = list.Writer;
392
XamlWriter
writer = list.Writer;
412
XamlWriter
writer = list.Writer;
422
XamlWriter
writer = list.Writer;
443
XamlWriter
writer = list.Writer;
453
XamlWriter
writer = list.Writer;
485
XamlWriter
writer = list.Writer;
512
XamlWriter
writer = list.Writer;
538
XamlWriter
writer = list.Writer;
557
XamlWriter
writer = list.Writer;
568
XamlWriter
writer = list.Writer;
577
XamlWriter
writer = list.Writer;
590
XamlWriter
writer = list.Writer;
613
XamlWriter
writer = list.Writer;
System\Xaml\XamlNodeQueueTests.cs (22)
90
XamlWriter
writer = queue.Writer;
99
XamlWriter
writer = queue.Writer;
118
XamlWriter
writer = queue.Writer;
156
XamlWriter
writer = queue.Writer;
166
XamlWriter
writer = queue.Writer;
185
XamlWriter
writer = queue.Writer;
223
XamlWriter
writer = queue.Writer;
233
XamlWriter
writer = queue.Writer;
252
XamlWriter
writer = queue.Writer;
269
XamlWriter
writer = queue.Writer;
288
XamlWriter
writer = queue.Writer;
326
XamlWriter
writer = queue.Writer;
336
XamlWriter
writer = queue.Writer;
367
XamlWriter
writer = queue.Writer;
393
XamlWriter
writer = queue.Writer;
418
XamlWriter
writer = queue.Writer;
447
XamlWriter
writer = queue.Writer;
466
XamlWriter
writer = queue.Writer;
477
XamlWriter
writer = queue.Writer;
489
XamlWriter
writer = queue.Writer;
502
XamlWriter
writer = queue.Writer;
525
XamlWriter
writer = queue.Writer;
System\Xaml\XamlServicesTests.cs (1)
96
Assert.Throws<ArgumentNullException>("writer", () => XamlServices.Save((
XamlWriter
)null!, 1));
System\Xaml\XamlWriterTests.cs (7)
15
[InlineData(XamlNodeType.GetObject, nameof(
XamlWriter
.WriteGetObject))]
16
[InlineData(XamlNodeType.EndObject, nameof(
XamlWriter
.WriteEndObject))]
17
[InlineData(XamlNodeType.EndMember, nameof(
XamlWriter
.WriteEndMember))]
36
Assert.Equal(nameof(
XamlWriter
.WriteStartObject), writer.CalledMethodName);
49
Assert.Equal(nameof(
XamlWriter
.WriteStartMember), writer.CalledMethodName);
62
Assert.Equal(nameof(
XamlWriter
.WriteValue), writer.CalledMethodName);
75
Assert.Equal(nameof(
XamlWriter
.WriteNamespace), writer.CalledMethodName);