Ejemplo n.º 1
0
        /// <summary>
        /// Opens the resource with the given key for reading
        /// </summary>
        public Stream OpenRead(string key)
        {
            AssemblyResourceInfo info = m_resourcesDict[key];

            return(info.OpenRead());
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Opens the resource at the given index for reading
        /// </summary>
        public Stream OpenRead(int index)
        {
            AssemblyResourceInfo info = m_resources[index];

            return(info.OpenRead());
        }