Summary
Checks if a string contains an absolute URI with a "http" or "https" scheme and returns it if it does.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Util - Containing Type
- LinkGenerator
Syntax
public static bool TryGetAbsoluteHttpUri(string str, out string absoluteUri)
Parameters
| Name | Type | Description |
|---|---|---|
| str | string | The string to check. |
| absoluteUri | string | The resulting absolute URI. |
Return Value
| Type | Description |
|---|---|
| bool | true if the string contains an absolute URI, false otherwise. |
