Свойство | Type | Description | |
---|---|---|---|
ResolveOptionalParameter | string |
Méthode | Description | |
---|---|---|
GetContainerUrl ( string containerIdentifier, string accessToken ) : string | ||
GetFileUrlAsync ( string extension, string fileIdentifier, string accessToken, WopiActionEnum action, WopiUrlSettings urlSettings = null ) : Task |
Generates an URL for a given file and action.
|
|
WopiUrlGenerator ( string wopiClientUrl, string wopiHostUrl, WopiUrlSettings urlSettings = null ) : System |
Creates a new instance of WOPI URL generator class.
|
Méthode | Description | |
---|---|---|
ResolveOptionalParameter ( string name, string value, WopiUrlSettings urlSettings ) : string |
public GetContainerUrl ( string containerIdentifier, string accessToken ) : string | ||
containerIdentifier | string | |
accessToken | string | |
Résultat | string |
public GetFileUrlAsync ( string extension, string fileIdentifier, string accessToken, WopiActionEnum action, WopiUrlSettings urlSettings = null ) : Task |
||
extension | string | File extension used to identify a correct URL template. |
fileIdentifier | string | Identifier of a file which an object of interest. |
accessToken | string | Access token that will be added to the URL. |
action | WopiActionEnum | Action used to identify a correct URL template. |
urlSettings | WopiUrlSettings | Additional URL settings (if not specified, defaults passed to the class constructor will be used). |
Résultat | Task |
public WopiUrlGenerator ( string wopiClientUrl, string wopiHostUrl, WopiUrlSettings urlSettings = null ) : System | ||
wopiClientUrl | string | URL of the WOPI client (OWA/OOS/etc.) |
wopiHostUrl | string | URL of the WOPI host (endpoint serving the content to WOPI client). |
urlSettings | WopiUrlSettings | Additional settings influencing behavior of the WOPI client. |
Résultat | System |