Beispiel #1
0
        void SerializeToElement()
        {
            var container = new XDocument();
            var writer    = new ScriptBundleSerializer(container);

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

            serializer.Serialize(this);
        }