C# 클래스 PaulStovell.TrialBalance.DomainModel.PackageDataProvider.AccountXElementAdapter

An adapter for converting Accounts into XElements, and vice-versa.
파일 보기 프로젝트 열기: PaulStovell/trial-balance 1 사용 예제들

공개 메소드들

메소드 설명
FromXElement ( XElement element ) : Account

Converts a given T:XElement into an T:Account.

ToXElement ( Account account ) : XElement

Converts a given Account into an T:XElement.

메소드 상세

FromXElement() 공개 메소드

Converts a given T:XElement into an T:Account.
public FromXElement ( XElement element ) : Account
element XElement The to convert.
리턴 Account

ToXElement() 공개 메소드

Converts a given Account into an T:XElement.
public ToXElement ( Account account ) : XElement
account Account The to convert.
리턴 XElement