CCNet.Build.Confluence.PageDocument.CheckBody C# (CSharp) Method

CheckBody() private static method

Makes sure specified element is a rich text body section.
private static CheckBody ( System.Xml.Linq.XElement body ) : void
body System.Xml.Linq.XElement
return void
		private static void CheckBody(XElement body)
		{
			if (body.Name != Nm("ac:rich-text-body"))
				throw new InvalidOperationException("Rich text body expected.");
		}