XmlResolver.cs 569 B

1234567891011121314151617181920212223242526272829303132
  1. // -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
  2. //
  3. // System.Xml.XmlResolver.cs
  4. //
  5. // Author:
  6. // Jason Diamond ([email protected])
  7. //
  8. // (C) 2001 Jason Diamond http://injektilo.org/
  9. //
  10. using System;
  11. using System.Net;
  12. namespace System.Xml
  13. {
  14. public abstract class XmlResolver
  15. {
  16. public abstract ICredentials Credentials
  17. {
  18. set;
  19. }
  20. public abstract object GetEntity(
  21. Uri absoluteUri,
  22. string role,
  23. Type type);
  24. public abstract Uri ResolveUri(
  25. Uri baseUri,
  26. string relativeUri);
  27. }
  28. }