blob: 54750bb6f602848e5f2487a2af04228599e63f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// System.Xml.XmlUrlResolver.cs
//
// Author: Duncan Mak (duncan@ximian.com)
//
// (C) Ximian, Inc.
//
using System.Net;
namespace System.Xml
{
public class XmlUrlResolver : XmlResolver
{
// Field
ICredentials credential;
// Constructor
public XmlUrlResolver ()
: base ()
{
}
// Properties
public override ICredentials Credentials
{
set { credential = value; }
}
// Methods
[MonoTODO]
public override object GetEntity (Uri absoluteUri, string role, Type ofObjectToReturn)
{
return null;
}
public override Uri ResolveUri (Uri baseUri, string relativeUri)
{
return new Uri (baseUri, relativeUri);
}
}
}
|