C# 클래스 Microsoft.Protocols.TestSuites.SharedAdapter.MsfsshttpbSubRequestMapping

This class is used to maintain the sub request token for ms-fsshttpb.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
Add ( int subRequestID, Type subRequestType, ITestSite site ) : void

This method is used to add a mapping between the sub request token and sub request type.

Clear ( ) : void

The method is used to clear all the mappings.

GetSubRequestType ( int subRequestID, ITestSite site ) : RequestTypes

This method is used to get the sub request type using the specified sub request token.

메소드 상세

Add() 공개 정적인 메소드

This method is used to add a mapping between the sub request token and sub request type.
public static Add ( int subRequestID, Type subRequestType, ITestSite site ) : void
subRequestID int Specify the sub request token.
subRequestType System.Type Specify the sub request type.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
리턴 void

Clear() 공개 정적인 메소드

The method is used to clear all the mappings.
public static Clear ( ) : void
리턴 void

GetSubRequestType() 공개 정적인 메소드

This method is used to get the sub request type using the specified sub request token.
public static GetSubRequestType ( int subRequestID, ITestSite site ) : RequestTypes
subRequestID int Specify the sub request token.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
리턴 RequestTypes