Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / resources / iresourcereader.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 /*============================================================
7 **
8 ** Class:  IResourceReader
9 ** 
10 ** <OWNER>[....]</OWNER>
11 **
12 **
13 ** Purpose: Abstraction to read streams of resources.
14 **
15 ** 
16 ===========================================================*/
17 namespace System.Resources {    
18     using System;
19     using System.IO;
20     using System.Collections;
21     
22     [System.Runtime.InteropServices.ComVisible(true)]
23     public interface IResourceReader : IEnumerable, IDisposable
24     {
25         // Interface does not need to be marked with the serializable attribute
26         // Closes the ResourceReader, releasing any resources associated with it.
27         // This could close a network connection, a file, or do nothing.
28         void Close();
29
30
31         new IDictionaryEnumerator GetEnumerator();
32     }
33 }