Example #1
0
        /// <summary>
        /// Writes XML without any namespaces.
        /// </summary>
        public static void SerializeWithoutNamespaces <T>(Stream stream, T obj)
        {
            var xmlWriterSettings = XmlWriterSettingsHelper.GetIndent();

            XmlStreamSerializer.SerializeWithoutNamespaces(stream, obj, xmlWriterSettings);
        }