C# Класс Microsoft.Protocols.TestSuites.MS_WOPI.TokenAndRequestUrlHelper

This class is used to get the WOPI resource URL
Наследование: HelperBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetSubResourceUrl ( string wopiRootResourceUrl, WOPISubResourceUrlType subResourceUrlType ) : string

A method is used to get folder children's level URL.

GetTokenValueFromWOPIResourceUrl ( string wopiResourceUrl ) : string

A method is used to get token value.

InitializeHelper ( IMS_WOPIManagedCodeSUTControlAdapter managedCodeSutConrollerAdapterInstance, ITestSite testSiteInstance ) : void

A method is used to initialize the TokenAndRequestUrlHelper helper.

Защищенные методы

Метод Описание
GetWOPISrcAndTokenValueFromWOPIResourceUrl ( string wopiResourceUrl ) : string>.Dictionary

A method is used to get the WOPIsrc value and the token value.

Приватные методы

Метод Описание
TokenAndRequestUrlHelper ( ) : System

Prevents a default instance of the TokenAndRequestUrlHelper class from being created

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

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

A method is used to get folder children's level URL.
public static GetSubResourceUrl ( string wopiRootResourceUrl, WOPISubResourceUrlType subResourceUrlType ) : string
wopiRootResourceUrl string A parameter represents the WOPI resource URL for the folder level.
subResourceUrlType WOPISubResourceUrlType A parameter represents the WOPI sub resource URL for the folder level.
Результат string

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

A method is used to get token value.
public static GetTokenValueFromWOPIResourceUrl ( string wopiResourceUrl ) : string
wopiResourceUrl string A parameter represents the WOPI resource URL, which is contain token information.
Результат string

GetWOPISrcAndTokenValueFromWOPIResourceUrl() защищенный статический Метод

A method is used to get the WOPIsrc value and the token value.
protected static GetWOPISrcAndTokenValueFromWOPIResourceUrl ( string wopiResourceUrl ) : string>.Dictionary
wopiResourceUrl string A parameter represents the WOPI resource URL
Результат string>.Dictionary

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

A method is used to initialize the TokenAndRequestUrlHelper helper.
public static InitializeHelper ( IMS_WOPIManagedCodeSUTControlAdapter managedCodeSutConrollerAdapterInstance, ITestSite testSiteInstance ) : void
managedCodeSutConrollerAdapterInstance IMS_WOPIManagedCodeSUTControlAdapter A parameter represents the IMS_WOPISUTManageCodeControlAdapter type instance, it is used to get WOPI root resource URL.
testSiteInstance ITestSite A parameter represents an ITestSite instance which is used to get test suite context.
Результат void