public static ILogging Get(Type clazz) { lock (cache) { ILogging logging = (ILogging)((ILogging)cache[clazz]); if (logging == null) { logging = new LoggingWrapper(clazz); cache[clazz] = logging; } return(logging); } }
public static ILogging Get(Type clazz) { lock (cache) { ILogging logging = (ILogging)((ILogging)cache[clazz]); if (logging == null) { logging = new LoggingWrapper(clazz); cache[clazz] = logging; } return logging; } }