2 instantiations of WordSegment
PresentationFramework (2)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (1)
259
return obj is WordSegment ? (WordSegment)obj : new
WordSegment
((global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordSegment)obj);
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (1)
115
"Windows.Data.Text.WordSegment" => new MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
(new MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordSegment(objRef)),
49 references to WordSegment
PresentationFramework (49)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (47)
132
WordSegment
GetTokenAt(string text, uint startIndex);
133
global::System.Collections.Generic.IReadOnlyList<
WordSegment
> GetTokens(string text);
246
internal sealed class WordSegment : global::System.Runtime.InteropServices.ICustomQueryInterface, IEquatable<
WordSegment
>
255
public static
WordSegment
FromAbi(IntPtr thisPtr)
259
return obj is
WordSegment
? (
WordSegment
)obj : new WordSegment((global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordSegment)obj);
267
public static bool operator ==(
WordSegment
x,
WordSegment
y) => (x?.ThisPtr ?? IntPtr.Zero) == (y?.ThisPtr ?? IntPtr.Zero);
268
public static bool operator !=(
WordSegment
x,
WordSegment
y) => !(x == y);
269
public bool Equals(
WordSegment
other) => this == other;
270
public override bool Equals(object obj) => obj is
WordSegment
that && this == that;
309
internal delegate void WordSegmentsTokenizingHandler(global::System.Collections.Generic.IEnumerable<
WordSegment
> precedingWords, global::System.Collections.Generic.IEnumerable<
WordSegment
> words);
385
public
WordSegment
GetTokenAt(string text, uint startIndex) => _default.GetTokenAt(text, startIndex);
387
public global::System.Collections.Generic.IReadOnlyList<
WordSegment
> GetTokens(string text) => _default.GetTokens(text);
1301
global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
__result = default;
1320
global::System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
> __result = default;
1327
result = global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromManaged(__result);
1387
public unsafe global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
GetTokenAt(string text, uint startIndex)
1404
public unsafe global::System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
> GetTokens(string text)
1412
return global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromAbi(__retval);
1417
global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeAbi(__retval);
1546
public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordSegment.Vftbl>();
1548
public static global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
FromAbi(IntPtr thisPtr) => global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
.FromAbi(thisPtr);
1549
public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef();
1550
public static unsafe MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.MarshalerArray CreateMarshalerArray(global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
[] array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.CreateMarshalerArray(array, (o) => CreateMarshaler(o));
1551
public static (int length, IntPtr data) GetAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.GetAbiArray(box);
1552
public static unsafe global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
[] FromAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromAbiArray(box, FromAbi);
1553
public static (int length, IntPtr data) FromManagedArray(global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
[] array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromManagedArray(array, (o) => FromManaged(o));
1555
public static void DisposeMarshalerArray(MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.MarshalerArray array) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeMarshalerArray(array);
1604
public void Invoke(global::System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
> precedingWords, global::System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
> words)
1612
__precedingWords = global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.CreateMarshaler(precedingWords);
1613
__words = global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.CreateMarshaler(words);
1614
global::WinRT.ExceptionHelpers.ThrowExceptionForHR(abiInvoke(ThisPtr, global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.GetAbi(__precedingWords), global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.GetAbi(__words)));
1618
global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeMarshaler(__precedingWords);
1619
global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeMarshaler(__words);
1639
invoke(global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromAbi(precedingWords), global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromAbi(words));
System\Windows\Documents\WinRTSpellerInteropExtensions.cs (2)
59
IReadOnlyList<
WordSegment
> tokens = segmenter?.GetTokens(text) ?? Array.Empty<
WordSegment
>();