using System;
namespace SharpVectors.Dom.Svg
{
///
/// Arguments when namespace is trying to be resolved
///
public sealed class SvgResolveNamespaceEventArgs : EventArgs
{
private string _uri;
private string _prefix;
public SvgResolveNamespaceEventArgs()
{
}
public SvgResolveNamespaceEventArgs(string prefix)
{
_prefix = prefix;
}
///
/// Gets or sets the prefix (for example: 'rdf')
///
/// The prefix.
public string Prefix
{
get
{
return _prefix;
}
set
{
_prefix = value;
}
}
///
/// Gets or sets the URI (for example: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#').
/// This value may have already been initialized, it's up to the application to check if it wants to override the resolution
///
/// The URI.
public string Uri
{
get
{
return _uri;
}
set
{
_uri = value;
}
}
}
}