C# 클래스 Microsoft.Protocols.TestSuites.MS_SITESS.AdapterHelper

The class provides the methods to assist MS-SITESSAdapter.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
CompareStringArrays ( string str1, string str2 ) : bool

Compare two string array's elements.

DeserializeWebProperties ( string prop, char itemSpliter, char keySpliter ) : string>.Dictionary

Deserialize web properties returned by the GetWebProperties method.

Initialize ( ITestSite testSiteInstance ) : void

Initialize this helper class with ITestSite.

MessageValidation ( string message, string schema ) : void

Validate whether an xml message follows the schema.

SiteResultDeserialize ( string getSiteResult ) : Site

Deserialize an xml string to a Site object.

비공개 메소드들

메소드 설명
Schema_ValidationEventHandler ( object sender, ValidationEventArgs args ) : void

The callback method that will handle XML schema validation events.

메소드 상세

CompareStringArrays() 공개 정적인 메소드

Compare two string array's elements.
public static CompareStringArrays ( string str1, string str2 ) : bool
str1 string The first string array to be compared.
str2 string The second string array to be compared.
리턴 bool

DeserializeWebProperties() 공개 정적인 메소드

Deserialize web properties returned by the GetWebProperties method.
public static DeserializeWebProperties ( string prop, char itemSpliter, char keySpliter ) : string>.Dictionary
prop string Web properties string value.
itemSpliter char The char value for item split.
keySpliter char The char value for key and value split.
리턴 string>.Dictionary

Initialize() 공개 정적인 메소드

Initialize this helper class with ITestSite.
public static Initialize ( ITestSite testSiteInstance ) : void
testSiteInstance ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
리턴 void

MessageValidation() 공개 정적인 메소드

Validate whether an xml message follows the schema.
public static MessageValidation ( string message, string schema ) : void
message string The xml message.
schema string The schema of the message.
리턴 void

SiteResultDeserialize() 공개 정적인 메소드

Deserialize an xml string to a Site object.
public static SiteResultDeserialize ( string getSiteResult ) : Site
getSiteResult string The xml string returned from the GetSite operation.
리턴 Site