UrlBuilderBuildUrl Method
Builds the URL with the specified path and arguments.
Namespace: SMath.Manager.NetworkAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.2.9018.0
protected string BuildUrl(
string baseUrl,
string path = null,
Dictionary<string, string> args = null
)
Protected Function BuildUrl (
baseUrl As String,
Optional path As String = Nothing,
Optional args As Dictionary(Of String, String) = Nothing
) As String
protected:
String^ BuildUrl(
String^ baseUrl,
String^ path = nullptr,
Dictionary<String^, String^>^ args = nullptr
)
member BuildUrl :
baseUrl : string *
?path : string *
?args : Dictionary<string, string>
(* Defaults:
let _path = defaultArg path null
let _args = defaultArg args null
*)
-> string
- baseUrl String
- Base URL to start with.
- path String (Optional)
-
Path to append to baseUrl.
Specify or Empty if there is no path to append.
- args DictionaryString, String (Optional)
-
Arguments to append to baseUrl.
Specify or empty collection if there are no arguments to append.
StringThe resulting URL.