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

            var callingType = StaticHelper.GetCallingType();

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

            return(GetLogger(callingType));
        }