2 instantiations of WordsSegmenter
PresentationFramework (2)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (1)
365return obj is WordsSegmenter ? (WordsSegmenter)obj : new WordsSegmenter((global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordsSegmenter)obj);
MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
52return new WordsSegmenter(language);
42 references to WordsSegmenter
PresentationFramework (42)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (28)
142WordsSegmenter CreateWithLanguage(string language); 313internal sealed partial class WordsSegmenter : global::System.Runtime.InteropServices.ICustomQueryInterface, IEquatable<WordsSegmenter> 324public _IWordsSegmenterFactory() : base(ActivationFactory<WordsSegmenter>.As<ABI.Windows.Data.Text.IWordsSegmenterFactory.Vftbl>()) { } 361public static WordsSegmenter FromAbi(IntPtr thisPtr) 365return obj is WordsSegmenter ? (WordsSegmenter)obj : new WordsSegmenter((global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordsSegmenter)obj); 373public static bool operator ==(WordsSegmenter x, WordsSegmenter y) => (x?.ThisPtr ?? IntPtr.Zero) == (y?.ThisPtr ?? IntPtr.Zero); 374public static bool operator !=(WordsSegmenter x, WordsSegmenter y) => !(x == y); 375public bool Equals(WordsSegmenter other) => this == other; 376public override bool Equals(object obj) => obj is WordsSegmenter that && this == that; 1490global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter __result = default; 1522public unsafe global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter CreateWithLanguage(string language) 1656public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordsSegmenter.Vftbl>(); 1658public static global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter FromAbi(IntPtr thisPtr) => global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter.FromAbi(thisPtr); 1659public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef(); 1660public static unsafe MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.MarshalerArray CreateMarshalerArray(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter[] array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.CreateMarshalerArray(array, (o) => CreateMarshaler(o)); 1661public static (int length, IntPtr data) GetAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.GetAbiArray(box); 1662public static unsafe global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter[] FromAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.FromAbiArray(box, FromAbi); 1663public static (int length, IntPtr data) FromManagedArray(global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter[] array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.FromManagedArray(array, (o) => FromManaged(o)); 1665public static void DisposeMarshalerArray(MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.MarshalerArray array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordsSegmenter>.DisposeMarshalerArray(array);
MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (1)
38public static WordsSegmenter Create(string language, bool shouldPreferNeutralSegmenter = false)
System\Windows\Documents\WinRTSpellerInterop.cs (11)
52_spellCheckers = new Dictionary<CultureInfo, Tuple<WordsSegmenter, SpellChecker>>(); 277WordsSegmenter wordBreaker = null; 285wordBreaker = WordsSegmenter.Create(culture.Name, shouldPreferNeutralSegmenter:true); 333_spellCheckers[culture] = new Tuple<WordsSegmenter, SpellChecker>(wordBreaker, spellChecker); 369var wordBreaker = CurrentWordBreaker ?? DefaultCultureWordBreaker; 681foreach (Tuple<WordsSegmenter, SpellChecker> item in _spellCheckers.Values) 770private WordsSegmenter CurrentWordBreaker 786private WordsSegmenter DefaultCultureWordBreaker 825private Dictionary<CultureInfo, Tuple<WordsSegmenter, SpellChecker>> _spellCheckers; 1044public SpellerSentence(string sentence, WordsSegmenter wordBreaker, SpellChecker spellChecker, WinRTSpellerInterop owner) 1087private WordsSegmenter _wordBreaker;
System\Windows\Documents\WinRTSpellerInteropExtensions.cs (2)
55this WordsSegmenter segmenter, 149/// See note about MAXLEN in <see cref="ComprehensiveGetTokens(WordsSegmenter, string, SpellChecker, WinRTSpellerInterop)"/>