Telegram.Model.Wrappers.UserModel.GetCurrentMethod C# (CSharp) Méthode

GetCurrentMethod() public static méthode

public static GetCurrentMethod ( ) : string
Résultat string
        public static string GetCurrentMethod() {
            string trace = "";
            StackTrace st = new StackTrace();

            foreach(StackFrame frame in st.GetFrames()) {
                trace += " " + frame.GetMethod().Name;
            }

            return trace;
        }