AspComponent CreateComponent (Foundry foundry, string tagName, string prefix, string tag) { string source, ns; Type type; type = foundry.GetType (tag, out source, out ns); if (type == null) return null; AspComponent ret = new AspComponent (type, ns, prefix, source, foundry.FromConfig); Dictionary <string, AspComponent> components = Components; components.Add (tagName, ret); return ret; }