C# 클래스 Microsoft.Protocols.TestSuites.MS_WOPI.TokenAndRequestUrlHelper

This class is used to get the WOPI resource URL
상속: HelperBase
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
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