Exemple #1
0
        // Token: 0x060012DB RID: 4827 RVA: 0x0003D3EC File Offset: 0x0003B5EC
        internal static T StartAndEndLoging <T>(string funcName, Func <T> func)
        {
            bool flag  = false;
            bool flag2 = false;
            T    result;

            try
            {
                flag2  = AuthZLogHelper.StartLogging(funcName, out flag);
                result = func();
            }
            finally
            {
                if (flag2)
                {
                    AuthZLogHelper.EndLogging(true);
                }
                else if (flag)
                {
                    AuthZLogHelper.EndLogging(false);
                }
            }
            return(result);
        }
Exemple #2
0
        // Token: 0x060012DE RID: 4830 RVA: 0x0003D634 File Offset: 0x0003B834
        internal static bool StartLogging(string funcName)
        {
            bool flag = false;

            return(AuthZLogHelper.StartLogging(funcName, out flag));
        }