Ejemplo n.º 1
0
        public static IApiCop GetCurrentClassApiCop()
        {
            if (!IsEnabled)
            {
                return(_dummyApiCop);
            }

            var callingType = StaticHelper.GetCallingType();

            return(GetApiCop(callingType));
        }
Ejemplo n.º 2
0
        public static ILog GetCurrentClassLogger()
        {
            var callingType = StaticHelper.GetCallingType();

            return(GetLogger(callingType));
        }