示例#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());
        }
示例#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());
        }