1 write to Singleton
PresentationFramework (1)
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerFactory.cs (1)
86
Singleton
= new SpellCheckerFactory();
12 references to Singleton
PresentationFramework (12)
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerCreationHelper.cs (1)
58
return SpellCheckerFactory.
Singleton
.ComFactory;
System\Windows\Documents\MsSpellCheckLib\SpellCheckerFactory\SpellCheckerFactory.cs (11)
71
result =
Singleton
;
118
if (
Singleton
.ComFactory != null)
122
Marshal.ReleaseComObject(
Singleton
.ComFactory);
129
Singleton
.ComFactory = null;
168
Singleton
.ComFactory = result;
221
return
Singleton
?.GetSupportedLanguagesPrivate(shouldSuppressCOMExceptions);
266
return ((
Singleton
!= null) &&
Singleton
.IsSupportedPrivate(languageTag, suppressCOMExceptons));
304
return
Singleton
?.CreateSpellCheckerPrivate(languageTag, suppressCOMExceptions);
341
Singleton
?.RegisterUserDictionaryPrivate(dictionaryPath, languageTag, suppressCOMExceptions);
372
Singleton
?.UnregisterUserDictionaryPrivate(dictionaryPath, languageTag, suppressCOMExceptions);