System.Web.Compilation.AspComponentFoundry.CompoundFoundry.GetType C# (CSharp) Method

GetType() public method

public GetType ( string componentName, string &source, string &ns ) : Type
componentName string
source string
ns string
return System.Type
			public override Type GetType (string componentName, out string source, out string ns)
			{
				source = null;
				ns = null;
				Type type = null;
				Foundry foundry = tagnames [componentName] as Foundry;
				if (foundry != null)
					return foundry.GetType (componentName, out source, out ns);

				if (assemblyFoundry != null) {
					try {
						type = assemblyFoundry.GetType (componentName, out source, out ns);
						return type;
					} catch { }
				}

				string msg = String.Format ("Type {0} not registered for prefix {1}", componentName, tagPrefix);
				throw new ApplicationException (msg);
			}
		}
AspComponentFoundry.CompoundFoundry