private static bool loadTypesFromAssembly(Assembly assembly)
{
bool retVal = true;
if (assembly == null)
{
return false;
}
try
{
foreach (Type type in assembly.GetTypes())
{
addTypeToCache(type);
}
}
catch (Exception ex)
{
Log.Debug(ex.ToString());
retVal = false;
}
return retVal;
}