The problem of .NET reflection.

zhaozj2021-02-16  60

It should be noted that the loggername must be a name space, or it is not built. Public Sealed Class LoggerManager {public static logger getlogger (String loggername) {return (logger) system.actiVator.createInstance (Type.gettype (loggername));}}

转载请注明原文地址:https://www.9cbs.com/read-20839.html

New Post(0)