C# Класс Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.AdapterHelper

The class provides the methods to assist MS-OXCMAPIHTTPAdapter.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AreTwoAddressBookPropValueListEqual() публичный статический Метод

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.
Результат bool

AreTwoAddressBookPropertyRowEqual() публичный статический Метод

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.
Результат bool

AreTwoLargePropertyTagArrayEqual() публичный статический Метод

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.
Результат bool

GetFinalResponseCode() публичный статический Метод

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.
Результат uint

InitializeHTTPHeader() публичный статический Метод

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
Результат System.Net.WebHeaderCollection

ParsePermanentEntryIDFromBytes() публичный статический Метод

Parse PermanentEntryID structure from byte array.
public static ParsePermanentEntryIDFromBytes ( byte bytes ) : PermanentEntryID
bytes byte The byte array to be parsed.
Результат PermanentEntryID