Class UriFactory
A static helper class for interning URIs to reduce memory usage.
Inheritance
System.Object
UriFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public static class UriFactory
Methods
| Improve this Doc View SourceClear()
Clears all interned URIs.
Declaration
public static void Clear()
Create(String)
Creates a URI interning it if interning is enabled via the InternUris.
Declaration
public static Uri Create(string uri)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | String URI. |
Returns
Type | Description |
---|---|
System.Uri |
Remarks
When URI interning is disabled this is equivalent to just invoking the constructor of the System.Uri class.