XmlResolver.cs 559 B

1234567891011121314151617181920212223242526272829
  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 { set; }
  17. public abstract object GetEntity(
  18. Uri absoluteUri,
  19. string role,
  20. Type type);
  21. public abstract Uri ResolveUri(
  22. Uri baseUri,
  23. string relativeUri);
  24. }
  25. }