public XmlDeserialization(IMessageMapper mapper, XmlSerializerCache cache, bool skipWrappingRawXml, bool sanitizeInput) { this.mapper = mapper; this.cache = cache; this.skipWrappingRawXml = skipWrappingRawXml; this.sanitizeInput = sanitizeInput; }
public XmlSerialization(Type messageType, Stream stream, object message, Conventions conventions, XmlSerializerCache cache, bool skipWrappingRawXml, string @namespace = DefaultNamespace) { this.messageType = messageType; this.message = message; this.conventions = conventions; this.cache = cache; this.skipWrappingRawXml = skipWrappingRawXml; this.@namespace = @namespace; writer = new RawXmlTextWriter(stream, new XmlWriterSettings { CloseOutput = false }); }