private void Initialize(Type typeToLocateAssembly, string virtualPath, string namespaceName, PortableAreaMap map)
		{
			this.map = map;
			this.typeToLocateAssembly = typeToLocateAssembly;
			// should we disallow an empty virtual path?
			this.VirtualPath = virtualPath.ToLower();
			this.namespaceName = namespaceName.ToLower();

			var resourceNames = this.typeToLocateAssembly.Assembly.GetManifestResourceNames();
			resources = new Dictionary<string, string>(resourceNames.Length);
			foreach (var name in resourceNames)
			{
				resources.Add(name.ToLower(), name);
			}
		}
        public AssemblyResourceStore(Type typeToLocateAssembly, string virtualPath, string namespaceName, PortableAreaMap map)
        {
			Initialize(typeToLocateAssembly, virtualPath, namespaceName, map);
		}