void SerializeToElement() { var container = new XDocument(); var writer = new ScriptBundleSerializer(container); writer.Serialize(bundle); element = container.Root; }
internal override void SerializeInto(XContainer container) { var serializer = new ScriptBundleSerializer(container); serializer.Serialize(this); }