21 references to Actions
PresentationFramework (21)
System\Windows\Documents\Tracing\SpellerCOMActionTraceLogger.cs (16)
88
private static readonly Dictionary<
Actions
, long> _timeLimits100Ns = new Dictionary<
Actions
, long>
90
{
Actions
.SpellCheckerCreation, 250 * 10000 }, // 250 ms
91
{
Actions
.ComprehensiveCheck, 50 * 10000 }, // 50 ms
92
{
Actions
.RegisterUserDictionary, 1000 * 10000 }, // 1000 ms
93
{
Actions
.UnregisterUserDictionary, 1000 * 10000 } // 1000 ms
102
public Dictionary<
Actions
, long> CumulativeCallTime100Ns { get; set; }
103
public Dictionary<
Actions
, long> NumCallsMeasured { get; set; }
122
private
Actions
_action;
143
public SpellerCOMActionTraceLogger(WinRTSpellerInterop caller,
Actions
action)
156
CumulativeCallTime100Ns = new Dictionary<
Actions
, long>(),
157
NumCallsMeasured = new Dictionary<
Actions
, long>()
160
foreach (
Actions
a in Enum.GetValues(typeof(
Actions
)))
205
(_action ==
Actions
.RegisterUserDictionary) ||
206
(_action ==
Actions
.UnregisterUserDictionary);
System\Windows\Documents\WinRTSpellerInterop.cs (5)
217
using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.
Actions
.UnregisterUserDictionary))
315
using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.
Actions
.SpellCheckerCreation))
480
using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.
Actions
.RegisterUserDictionary))
532
using (new SpellerCOMActionTraceLogger(this, SpellerCOMActionTraceLogger.
Actions
.UnregisterUserDictionary))
936
using (new SpellerCOMActionTraceLogger(Owner, SpellerCOMActionTraceLogger.
Actions
.ComprehensiveCheck))