CopyXmlStream Method
Definition
- Namespace
- Cuemon.Extensions.Xml
- Assemblies
- Cuemon.Extensions.Xml.dll
CopyXmlStream(Stream, Action<XmlWriterSettings>)
Copies the entire XML Stream following the output format of setup.
public static Stream CopyXmlStream(this Stream value, Action<XmlWriterSettings> setup = null)
Parameters
valueStreamThe XML Stream to extend.
setupAction<XmlWriterSettings>The XmlWriterSettings which may be configured.
Returns
Exceptions
- ArgumentNullException
valuecannot be null.