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

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat bool

AreTwoAddressBookPropertyRowEqual() public static méthode

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.
Résultat bool

AreTwoLargePropertyTagArrayEqual() public static méthode

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.
Résultat bool

GetFinalResponseCode() public static méthode

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.
Résultat uint

InitializeHTTPHeader() public static méthode

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
Résultat System.Net.WebHeaderCollection

ParsePermanentEntryIDFromBytes() public static méthode

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