System.Web.Compilation.AspComponentFoundry.AssemblyFoundry.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 = nameSpace;

				if (assembly == null && assemblyName != null)
					assembly = GetAssemblyByName (assemblyName, true);

				string typeName = String.Concat (nameSpace, ".", componentName);
				if (assembly != null)
					return assembly.GetType (typeName, false, true);

				IList tla = BuildManager.TopLevelAssemblies;
				if (tla != null && tla.Count > 0) {
					Type ret = null;
					foreach (Assembly asm in tla) {
						if (asm == null)
							continue;
						ret = asm.GetType (typeName, false, true);
						if (ret != null)
							return ret;
					}
				}

				return null;
			}
AspComponentFoundry.AssemblyFoundry