21 references to Actions
PresentationFramework (21)
System\Windows\Documents\Tracing\SpellerCOMActionTraceLogger.cs (16)
85private static readonly Dictionary<Actions, long> _timeLimits100Ns = new Dictionary<Actions, long> 87{Actions.SpellCheckerCreation, 250 * 10000 }, // 250 ms 88{Actions.ComprehensiveCheck, 50 * 10000 }, // 50 ms 89{Actions.RegisterUserDictionary, 1000 * 10000 }, // 1000 ms 90{Actions.UnregisterUserDictionary, 1000 * 10000 } // 1000 ms 99public Dictionary<Actions, long> CumulativeCallTime100Ns { get; set; } 100public Dictionary<Actions, long> NumCallsMeasured { get; set; } 119private Actions _action; 140public SpellerCOMActionTraceLogger(WinRTSpellerInterop caller, Actions action) 153CumulativeCallTime100Ns = new Dictionary<Actions, long>(), 154NumCallsMeasured = new Dictionary<Actions, long>() 157foreach (Actions a in Enum.GetValues<Actions>()) 202(_action == Actions.RegisterUserDictionary) || 203(_action == Actions.UnregisterUserDictionary);
System\Windows\Documents\WinRTSpellerInterop.cs (5)
208using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.UnregisterUserDictionary)) 306using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.SpellCheckerCreation)) 471using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.RegisterUserDictionary)) 523using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.UnregisterUserDictionary)) 924using (new SpellerCOMActionTraceLogger(Owner, SpellerCOMActionTraceLogger.Actions.ComprehensiveCheck))