CCNet.SourceNotifier.XmlProcessor.XmlExporter.ExportPendingChange C# (CSharp) Method

ExportPendingChange() public static method

Creates XML element containing the information on the specified pending change.
public static ExportPendingChange ( Microsoft.TeamFoundation.VersionControl.Client.PendingChange change ) : System.Xml.Linq.XElement
change Microsoft.TeamFoundation.VersionControl.Client.PendingChange
return System.Xml.Linq.XElement
		public static XElement ExportPendingChange(PendingChange change)
		{
			return new XElement(
				"change",
				new XElement("path", change.ServerItem),
				new XElement("checkoutDate", ExportDateTime(change.CreationDate)),
				new XElement("daysSinceCheckout", ExportTimeSpanDays(DateTime.Now - change.CreationDate)));
		}