Asgard.ScriptSystem.Javascript.Modules.EntityModule.getTypeByName C# (CSharp) Méthode

getTypeByName() private méthode

private getTypeByName ( string className ) : Type
className string
Résultat System.Type
        private Type getTypeByName(string className)
        {
            foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
            {
                var t = a.GetType(className,false,true);
                if (t != null) return t;
            }

            return null;
        }