Mono.Enumerations.EnumCheck.LoadType C# (CSharp) Метод

LoadType() приватный Метод

private LoadType ( ) : void
Результат void
		private void LoadType()
		{
			type = null;
			foreach(string url in ecac)
			{
				try
				{
					Assembly assembly = Assembly.LoadFrom(url);
					foreach(Type t in assembly.GetTypes())
					{
						if(!t.IsEnum)
							continue;
						if(className == t.ToString())
						{
							type = t;
							break;
						}
					}
				} catch(BadImageFormatException)
				{
				} catch(ReflectionTypeLoadException)
				{
				} catch(ArgumentException)
				{
				}
				if(type != null)
					return;
			}
		}