Class ThreadSafeQNameOutputMapper
Thread Safe version of the QNameOutputMapper.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class ThreadSafeQNameOutputMapper : QNameOutputMapper, INamespaceMapper, IDisposable
Constructors
| Improve this Doc View SourceThreadSafeQNameOutputMapper(INamespaceMapper, IUriFactory)
Creates a new Thread Safe QName Output Mapper.
Declaration
public ThreadSafeQNameOutputMapper(INamespaceMapper nsmapper, IUriFactory uriFactory = null)
Parameters
Type | Name | Description |
---|---|---|
INamespaceMapper | nsmapper | Namespace Mapper. |
IUriFactory | uriFactory | The factory to use when creating new Uri instances. If not specified, defaults to Root. |
Methods
| Improve this Doc View SourceAddNamespace(string, Uri)
Adds a Namespace to the QName Output Mapper.
Declaration
public override void AddNamespace(string prefix, Uri uri)
Parameters
Type | Name | Description |
---|---|---|
string | prefix | Prefix. |
System.Uri | uri | Namespace URI. |
Overrides
| Improve this Doc View SourceAddToCache(string, QNameMapping)
Adds a QName Mapping to the Cache in a Thread Safe way.
Declaration
protected override void AddToCache(string key, QNameMapping value)
Parameters
Type | Name | Description |
---|---|---|
string | key | Key. |
QNameMapping | value | Value. |
Overrides
Implements
System.IDisposable