C# 클래스 Mercurial.ChangesetXmlParser

This class implements a basic XML-based changeset parser, that parses changeset information as reported by the Mercurial command line client, in XML format.
파일 보기 프로젝트 열기: TargetProcess/Target-Process-Plugins 1 사용 예제들

공개 메소드들

메소드 설명
LazyParse ( string xml ) : IEnumerable

Parse the given XML lazily and return a collection of Changeset objects for the information contained in it, in the order the changesets appear in the xml.

Parse ( string xml ) : Changeset[]

Parse the given XML and return Changeset objects for the information contained in it, ordered in descending order by the revision numbers (ie. latest changeset first.)

비공개 메소드들

메소드 설명
LazyExtractChangesetXmlPieces ( string xml ) : IEnumerable

Lazily extract all the <logentry>...</logentry> xml pieces from the changeset xml log.

메소드 상세

LazyParse() 공개 정적인 메소드

Parse the given XML lazily and return a collection of Changeset objects for the information contained in it, in the order the changesets appear in the xml.
/// An unknown path action character was detected in the log output. /// - or - /// The XML content was not legal according to the expected format. ///
public static LazyParse ( string xml ) : IEnumerable
xml string /// The XML to parse. ///
리턴 IEnumerable

Parse() 공개 정적인 메소드

Parse the given XML and return Changeset objects for the information contained in it, ordered in descending order by the revision numbers (ie. latest changeset first.)
/// An unknown path action character was detected in the log output. ///
public static Parse ( string xml ) : Changeset[]
xml string /// The XML to parse. ///
리턴 Changeset[]