Axiom.Runtime.AMAssemblyCache.InitializeLocalAssemblyCache C# (CSharp) Method

InitializeLocalAssemblyCache() private method

private InitializeLocalAssemblyCache ( ) : void
return void
        private void InitializeLocalAssemblyCache()
        {
            Assembly a = null;
            string[] bcl = {
                "System",
                "System.Data",
                "System.EnterpriseServices",
                "mscorlib",
                "System.Design",
                "System.DirectoryServices",
                "System.XML",
                "System.Windows.Forms"
            };

            foreach (string asm in bcl)
            {
                a = Assembly.LoadWithPartialName(asm);
                foreach (Type t in a.GetExportedTypes())
                {
                    _localAssemblyCache.Add(t.ToString(), asm);
                }
            }
        }