Click or drag to resize

MediaWikiHelperMakeAbsoluteUrl(String, String) Method

This is preliminary documentation and is subject to change.

Combines a base URL and a relative URL, using https for relative protocol URL.

Namespace: WikiClientLibrary.Infrastructures
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static string MakeAbsoluteUrl(
	string baseUrl,
	string relativeUrl
)

Parameters

baseUrl  String
The base absolute URL. Can be relative protocol URL.
relativeUrl  String
The relative URL.

Return Value

String
The combined URL with absolute protocol.
Exceptions
ExceptionCondition
ArgumentNullExceptionEither baseUrl or relativeUrl is null.
See Also