IResourceReader.cs 865 B

123456789101112131415161718192021222324252627282930
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. /*============================================================
  5. **
  6. **
  7. **
  8. **
  9. **
  10. ** Purpose: Abstraction to read streams of resources.
  11. **
  12. **
  13. ===========================================================*/
  14. using System;
  15. using System.Collections;
  16. namespace System.Resources
  17. {
  18. public interface IResourceReader : IEnumerable, IDisposable
  19. {
  20. // Interface does not need to be marked with the serializable attribute
  21. // Closes the ResourceReader, releasing any resources associated with it.
  22. // This could close a network connection, a file, or do nothing.
  23. void Close();
  24. new IDictionaryEnumerator GetEnumerator();
  25. }
  26. }