public static SecurityService._Log log() { SecurityService._Log _log = new SecurityService._Log(); StackTrace st = new StackTrace(); _log.className = st.GetFrame(1).GetMethod().DeclaringType.FullName; _log.functionName = st.GetFrame(1).GetMethod().Name; return _log; }
/// <remarks/> public void setLogAsync(_Log log, UserInfo userInfo, string tableName, string tableID, string userAction, string formName) { this.setLogAsync(log, userInfo, tableName, tableID, userAction, formName, null); }
/// <remarks/> public void setLogAsync(_Log log, UserInfo userInfo, string tableName, string tableID, string userAction, string formName, object userState) { if ((this.setLogOperationCompleted == null)) { this.setLogOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetLogOperationCompleted); } this.InvokeAsync("setLog", new object[] { log, userInfo, tableName, tableID, userAction, formName}, this.setLogOperationCompleted, userState); }
public void setLog(_Log log, UserInfo userInfo, string tableName, string tableID, string userAction, string formName) { this.Invoke("setLog", new object[] { log, userInfo, tableName, tableID, userAction, formName}); }