C# Класс Microsoft.Protocols.TestSuites.SharedAdapter.MsfsshttpbSubRequestMapping

This class is used to maintain the sub request token for ms-fsshttpb.
Показать файл Открыть проект Примеры использования класса

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

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