C# 클래스 ValidateBuilds.ExpectedResults

Represents the expected (successful) output of post-build assembly processing.
Expected results files take the following form: <ExpectedResults Script="path/to/script" > <Classes> <Include Name="SomeType" /> <Exclude Name="OtherType" /> </Classes> <Warnings> <Pattern> regex </Pattern> </Warnings> <Errors> <Pattern> regex </Pattern> </Errors> </ExpectedResults>
파일 보기 프로젝트 열기: benjamin-bader/stiletto 1 사용 예제들

공개 메소드들

메소드 설명
Parse ( System.Xml.Linq.XElement element, string directoryPath ) : ExpectedResults

비공개 메소드들

메소드 설명
ExpectedResults ( IEnumerable warnings, IEnumerable errors, ISet includedClasses, ISet excludedClasses ) : System
ReadElementAsString ( System.Xml.Linq.XElement e ) : string

메소드 상세

Parse() 공개 정적인 메소드

public static Parse ( System.Xml.Linq.XElement element, string directoryPath ) : ExpectedResults
element System.Xml.Linq.XElement
directoryPath string /// The path to the directory containing the expected results file. ///
리턴 ExpectedResults