C# Class Microsoft.Protocols.TestSuites.SharedAdapter.EditorsTableUtils

This method is used to extract EditorsTable from the MS-FSSHTTPB binary response.
Mostra file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Properties

Property Type Description
EditorsTableHeader byte[]

Public Methods

Method Description
GetEditorsTable ( string responseXml ) : EditorsTable

Get EditorsTable from response xml.

GetEditorsTableFromResponse ( FsshttpbResponse subResponse, ITestSite site ) : EditorsTable

Get EditorsTable from server response.

IsEditorsTableHeader ( byte content ) : bool

This method is used to test whether it is an editors table header.

Private Methods

Method Description
GetEditor ( XmlNode node ) : Editor

Get Editor instance from XmlNode.

Method Details

GetEditorsTable() public static method

Get EditorsTable from response xml.
public static GetEditorsTable ( string responseXml ) : EditorsTable
responseXml string The response xml about EditorsTable.
return EditorsTable

GetEditorsTableFromResponse() public static method

Get EditorsTable from server response.
public static GetEditorsTableFromResponse ( FsshttpbResponse subResponse, ITestSite site ) : EditorsTable
subResponse FsshttpbResponse The sub response from server.
site ITestSite Transfer ITestSite into this operation, for this operation to use ITestSite's function.
return EditorsTable

IsEditorsTableHeader() public static method

This method is used to test whether it is an editors table header.
public static IsEditorsTableHeader ( byte content ) : bool
content byte Specify the header content.
return bool

Property Details

EditorsTableHeader public_oe static_oe property

Static field for the editors table header byte content.
public static byte[] EditorsTableHeader
return byte[]