public HistoryKey GetOrAddHistoryKey(string historyKey)
        {
            var key = GetById(historyKey);

            if (key != null)
            {
                return(key);
            }

            key = new HistoryKey(historyKey, SettingsHIST.ShowActionsInClientDefault, SettingsHIST.SaveActionsInDatabaseDefault, SettingsHIST.TraceLevelDefault.ToString());
            Add(key);
            return(key);
        }
示例#2
0
 public void TestMethod1()
 {
     var hk   = new HistoryKey(4, DateTime.Now);
     var hash = hk.GetHashCode();
 }