A model representing a webcache.
More...
|
Uri? | Url [get, set] |
| The url of the webcache.
|
|
TimeSpan | ActiveSince [get, set] |
| When did the webcache first gain knowledge about the other webcache.
|
|
A model representing a webcache.
◆ GWebCacheNode()
GWebCache.Models.GWebCacheNode.GWebCacheNode |
( |
string | url | ) |
|
|
inline |
Constructs a new GWebCacheNode.
- Parameters
-
url | string representation of the url |
- Exceptions
-
ArgumentException | If the url could not be parsed to an absolute URI |
◆ Equals()
override bool GWebCache.Models.GWebCacheNode.Equals |
( |
object? | obj | ) |
|
|
inline |
Two webcaches are equal if the url is the same.
- Returns
- A boolean indicating if two webcaches are the same
◆ GetHashCode()
override int GWebCache.Models.GWebCacheNode.GetHashCode |
( |
| ) |
|
|
inline |
Not relevant since the Equals method doesn't need it.
- Exceptions
-
◆ ToString()
override string GWebCache.Models.GWebCacheNode.ToString |
( |
| ) |
|
|
inline |
Converts the GWebCacheNode to a string representation.
- Returns
- UrlEncoded Url of the webcache
◆ ActiveSince
TimeSpan GWebCache.Models.GWebCacheNode.ActiveSince |
|
getset |
When did the webcache first gain knowledge about the other webcache.
This is exclusively provided by V2 webcaches so always check if this is not filled in
The documentation for this class was generated from the following file:
- GWebCache/Models/GWebCacheNode.cs