C# Class PaulStovell.TrialBalance.DomainModel.PackageDataProvider.ChangeSetHistoryXElementAdapter

An adapter for converting ChangeSetHistory records into XElements, and vice-versa.
Exibir arquivo Open project: PaulStovell/trial-balance Class Usage Examples

Public Methods

Method Description
FromXElement ( XElement element ) : ChangeSetHistory

Converts a given T:XElement into a T:ChangeSetHistory.

ToXElement ( ChangeSetHistory changeSetHistory ) : XElement

Converts a given ChangeSetHistory into an T:XElement.

Method Details

FromXElement() public method

Converts a given T:XElement into a T:ChangeSetHistory.
public FromXElement ( XElement element ) : ChangeSetHistory
element XElement The to convert.
return ChangeSetHistory

ToXElement() public method

Converts a given ChangeSetHistory into an T:XElement.
public ToXElement ( ChangeSetHistory changeSetHistory ) : XElement
changeSetHistory ChangeSetHistory The to convert.
return XElement