AwbUpdater.ErrorHandler.MethodNames C# (CSharp) 메소드

MethodNames() 공개 정적인 메소드

Returns names of functions in stack trace of an exception
public static MethodNames ( string stackTrace ) : string[]
stackTrace string Exception's StackTrace
리턴 string[]
        public static string[] MethodNames(string stackTrace)
        {
            MatchCollection mc = StackTrace.Matches(stackTrace);

            string[] res = new string[mc.Count];

            for (int i = 0; i < res.Length; i++) res[i] = mc[i].Groups[1].Value;

            return res;
        }