C# Class Microsoft.Protocols.TestSuites.MS_ASNOTE.MS_ASNOTEAdapter

Adapter class of MS-ASNOTE.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ASNOTEAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse

Synchronizes the collection hierarchy

Initialize ( TestTools testSite ) : void

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.

ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore

Fetch all information about exchange object

Search ( string collectionId, string subject, bool isLoopNeeded, int expectedCount ) : SearchStore

Loop to get the results of the specific query request by Search command.

Sync ( SyncRequest syncRequest, bool isResyncNeeded ) : SyncStore

Sync data from the server

Method Details

FolderSync() public method

Synchronizes the collection hierarchy
public FolderSync ( FolderSyncRequest folderSyncRequest ) : FolderSyncResponse
folderSyncRequest FolderSyncRequest FolderSync command request.
return FolderSyncResponse

Initialize() public method

Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
public Initialize ( TestTools testSite ) : void
testSite TestTools Transfer ITestSite into adapter, make adapter can use ITestSite's function.
return void

ItemOperations() public method

Fetch all information about exchange object
public ItemOperations ( ItemOperationsRequest itemOperationsRequest ) : ItemOperationsStore
itemOperationsRequest ItemOperationsRequest ItemOperations command request.
return Microsoft.Protocols.TestSuites.Common.DataStructures.ItemOperationsStore

Search() public method

Loop to get the results of the specific query request by Search command.
public Search ( string collectionId, string subject, bool isLoopNeeded, int expectedCount ) : SearchStore
collectionId string The CollectionId of the folder to search.
subject string The subject of the note to get.
isLoopNeeded bool A boolean value specify whether need the loop
expectedCount int The expected number of the note to be found.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SearchStore

Sync() public method

Sync data from the server
public Sync ( SyncRequest syncRequest, bool isResyncNeeded ) : SyncStore
syncRequest SyncRequest Sync command request.
isResyncNeeded bool A bool value indicates whether need to re-sync when the response contains MoreAvailable element.
return Microsoft.Protocols.TestSuites.Common.DataStructures.SyncStore