1 write to Singleton
PresentationFramework (1)
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerFactory.cs (1)
91
Singleton
= new SpellCheckerFactory();
12 references to Singleton
PresentationFramework (12)
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerCreationHelper.cs (1)
61
return SpellCheckerFactory.
Singleton
.ComFactory;
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerFactory.cs (11)
76
result =
Singleton
;
123
if (
Singleton
.ComFactory != null)
127
Marshal.ReleaseComObject(
Singleton
.ComFactory);
134
Singleton
.ComFactory = null;
173
Singleton
.ComFactory = result;
226
return
Singleton
?.GetSupportedLanguagesPrivate(shouldSuppressCOMExceptions);
271
return ((
Singleton
!= null) &&
Singleton
.IsSupportedPrivate(languageTag, suppressCOMExceptons));
309
return
Singleton
?.CreateSpellCheckerPrivate(languageTag, suppressCOMExceptions);
346
Singleton
?.RegisterUserDictionaryPrivate(dictionaryPath, languageTag, suppressCOMExceptions);
377
Singleton
?.UnregisterUserDictionaryPrivate(dictionaryPath, languageTag, suppressCOMExceptions);