예제 #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);
        }