C# Class Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.AdapterHelper

The class provides the methods to assist MS-OXCMAPIHTTPAdapter.
Mostrar archivo Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
AreTwoAddressBookPropValueListEqual ( AddressBookPropertyValueList addressBookPropValueList1, AddressBookPropertyValueList addressBookPropValueList2 ) : bool

Compare whether two AddressBookPropValueLists are equal.

AreTwoAddressBookPropertyRowEqual ( AddressBookPropertyRow propertyRows1, AddressBookPropertyRow propertyRows2 ) : bool

Compare whether two AddressBookPropertyRow arrays are equal.

AreTwoLargePropertyTagArrayEqual ( LargePropertyTagArray propertyTagArray1, LargePropertyTagArray propertyTagArray2 ) : bool

Compare whether two LargePropertyTagArrays are equal.

GetFinalResponseCode ( string responseCode ) : uint

Get the final value of X-ResponseCode header.

InitializeHTTPHeader ( RequestType requestType, string clientInstance, int counter ) : WebHeaderCollection

Initialize HTTP Header

ParsePermanentEntryIDFromBytes ( byte bytes ) : PermanentEntryID

Parse PermanentEntryID structure from byte array.

Method Details

AreTwoAddressBookPropValueListEqual() public static method

Compare whether two AddressBookPropValueLists are equal.
public static AreTwoAddressBookPropValueListEqual ( AddressBookPropertyValueList addressBookPropValueList1, AddressBookPropertyValueList addressBookPropValueList2 ) : bool
addressBookPropValueList1 AddressBookPropertyValueList The first AddressBookPropertyValueList used to compare.
addressBookPropValueList2 AddressBookPropertyValueList The second AddressBookPropertyValueList used to compare.
return bool

AreTwoAddressBookPropertyRowEqual() public static method

Compare whether two AddressBookPropertyRow arrays are equal.
public static AreTwoAddressBookPropertyRowEqual ( AddressBookPropertyRow propertyRows1, AddressBookPropertyRow propertyRows2 ) : bool
propertyRows1 AddressBookPropertyRow The first AddressBookPropertyRow array used to compare.
propertyRows2 AddressBookPropertyRow The second AddressBookPropertyRow array used to compare.
return bool

AreTwoLargePropertyTagArrayEqual() public static method

Compare whether two LargePropertyTagArrays are equal.
public static AreTwoLargePropertyTagArrayEqual ( LargePropertyTagArray propertyTagArray1, LargePropertyTagArray propertyTagArray2 ) : bool
propertyTagArray1 LargePropertyTagArray The first LargePropertyTagArray used to compare.
propertyTagArray2 LargePropertyTagArray The second LargePropertyTagArray used to compare.
return bool

GetFinalResponseCode() public static method

Get the final value of X-ResponseCode header.
public static GetFinalResponseCode ( string responseCode ) : uint
responseCode string The value of X-ResponseCode header returned from server.
return uint

InitializeHTTPHeader() public static method

Initialize HTTP Header
public static InitializeHTTPHeader ( RequestType requestType, string clientInstance, int counter ) : WebHeaderCollection
requestType RequestType The request type
clientInstance string The string of the client instance
counter int The counter
return System.Net.WebHeaderCollection

ParsePermanentEntryIDFromBytes() public static method

Parse PermanentEntryID structure from byte array.
public static ParsePermanentEntryIDFromBytes ( byte bytes ) : PermanentEntryID
bytes byte The byte array to be parsed.
return PermanentEntryID