Работает с аттрибутами:
as="AssemblyShortName" anf="AssemblyFullName"
if( as == AssemblyFullName )
t = Type.GetType(typeName, false, true) work SUCCES for simple and dynamic Assemblies
if(as="AssemblyShortName")
t = Type.GetType(typeName, false, true)
does not work with Dynamic Assemlies
for dynamic and simple Assemblies work as="AssemblyFullName"
Dynamic Assemblies work only with AssemblyFullName
and only with
t = Type.GetType(typeFullName, name =>
AppDomain.CurrentDomain.GetAssemblies()
.FirstOrDefault(z => z.FullName == name.FullName),
as="AssemblyShortName" anf="AssemblyFullName"
if( as == AssemblyFullName )
t = Type.GetType(typeName, false, true) work SUCCES for simple and dynamic Assemblies
if(as="AssemblyShortName")
t = Type.GetType(typeName, false, true)
does not work with Dynamic Assemlies
for dynamic and simple Assemblies work as="AssemblyFullName"
Dynamic Assemblies work only with AssemblyFullName
and only with
t = Type.GetType(typeFullName, name =>
AppDomain.CurrentDomain.GetAssemblies()
.FirstOrDefault(z => z.FullName == name.FullName),