Пример #1
0
        void SerializeToElement()
        {
            var container = new XDocument();
            var writer    = new ScriptBundleSerializer(container);

            writer.Serialize(bundle);
            element = container.Root;
        }
Пример #2
0
        internal override void SerializeInto(XContainer container)
        {
            var serializer = new ScriptBundleSerializer(container);

            serializer.Serialize(this);
        }