Class XmlStreamFactory
- Namespace
- Cuemon.Xml
- Assembly
- Cuemon.Xml.dll
Provides access to factory methods for creating and configuring Stream instances.
public static class XmlStreamFactory
- Inheritance
-
XmlStreamFactory
Methods
CreateStream(Action<XmlWriter>, Action<XmlWriterSettings>)
Creates and returns an XML stream by the specified delegate writer
.
public static Stream CreateStream(Action<XmlWriter> writer, Action<XmlWriterSettings> setup = null)
Parameters
writer
Action<XmlWriter>The delegate that will create an in-memory XML stream.
setup
Action<XmlWriterSettings>The XmlWriterSettings which may be configured.