c# 反射
public static T CreateObject(string className)
{
var typeName=assemblyString+"."+className;
var objType=(T)Assembly.Load(assemblyString).CreateInstance(typeName);
}
摘自 凡娃软件
补充:软件开发 , C# ,
public static T CreateObject(string className)
{
var typeName=assemblyString+"."+className;
var objType=(T)Assembly.Load(assemblyString).CreateInstance(typeName);
}
摘自 凡娃软件
补充:软件开发 , C# ,