@@ -618,7 +618,7 @@ public static void RemoveTags(this IContentBase content, string propertyTypeAlia
618
618
/// <returns>Xml representation of the passed in <see cref="IContent"/></returns>
619
619
internal static XElement ToDeepXml ( this IContent content )
620
620
{
621
- return ApplicationContext . Current . Services . PackagingService . Export ( content , true ) ;
621
+ return ApplicationContext . Current . Services . PackagingService . Export ( content , true , raiseEvents : false ) ;
622
622
}
623
623
624
624
/// <summary>
@@ -628,7 +628,7 @@ internal static XElement ToDeepXml(this IContent content)
628
628
/// <returns>Xml representation of the passed in <see cref="IContent"/></returns>
629
629
public static XElement ToXml ( this IContent content )
630
630
{
631
- return ApplicationContext . Current . Services . PackagingService . Export ( content ) ;
631
+ return ApplicationContext . Current . Services . PackagingService . Export ( content , raiseEvents : false ) ;
632
632
}
633
633
634
634
/// <summary>
@@ -638,7 +638,7 @@ public static XElement ToXml(this IContent content)
638
638
/// <returns>Xml representation of the passed in <see cref="IContent"/></returns>
639
639
public static XElement ToXml ( this IMedia media )
640
640
{
641
- return ApplicationContext . Current . Services . PackagingService . Export ( media ) ;
641
+ return ApplicationContext . Current . Services . PackagingService . Export ( media , raiseEvents : false ) ;
642
642
}
643
643
644
644
/// <summary>
@@ -648,7 +648,7 @@ public static XElement ToXml(this IMedia media)
648
648
/// <returns>Xml representation of the passed in <see cref="IMedia"/></returns>
649
649
internal static XElement ToDeepXml ( this IMedia media )
650
650
{
651
- return ApplicationContext . Current . Services . PackagingService . Export ( media , true ) ;
651
+ return ApplicationContext . Current . Services . PackagingService . Export ( media , true , raiseEvents : false ) ;
652
652
}
653
653
654
654
/// <summary>
0 commit comments