21 references to Actions
PresentationFramework (21)
System\Windows\Documents\Tracing\SpellerCOMActionTraceLogger.cs (16)
86private static readonly Dictionary<Actions, long> _timeLimits100Ns = new Dictionary<Actions, long> 88{Actions.SpellCheckerCreation, 250 * 10000 }, // 250 ms 89{Actions.ComprehensiveCheck, 50 * 10000 }, // 50 ms 90{Actions.RegisterUserDictionary, 1000 * 10000 }, // 1000 ms 91{Actions.UnregisterUserDictionary, 1000 * 10000 } // 1000 ms 100public Dictionary<Actions, long> CumulativeCallTime100Ns { get; set; } 101public Dictionary<Actions, long> NumCallsMeasured { get; set; } 120private Actions _action; 141public SpellerCOMActionTraceLogger(WinRTSpellerInterop caller, Actions action) 154CumulativeCallTime100Ns = new Dictionary<Actions, long>(), 155NumCallsMeasured = new Dictionary<Actions, long>() 158foreach (Actions a in Enum.GetValues<Actions>()) 203(_action == Actions.RegisterUserDictionary) || 204(_action == Actions.UnregisterUserDictionary);
System\Windows\Documents\WinRTSpellerInterop.cs (5)
209using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.UnregisterUserDictionary)) 307using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.SpellCheckerCreation)) 472using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.RegisterUserDictionary)) 524using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.Actions.UnregisterUserDictionary)) 928using (new SpellerCOMActionTraceLogger(Owner, SpellerCOMActionTraceLogger.Actions.ComprehensiveCheck))