Exemple #1
0
 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);
     }
 }
Exemple #2
0
		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;
			}
		}