2 instantiations of WordSegment
PresentationFramework (2)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (1)
267
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)
119
"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)
140
WordSegment
GetTokenAt(string text, uint startIndex);
141
global::System.Collections.Generic.IReadOnlyList<
WordSegment
> GetTokens(string text);
254
internal sealed class WordSegment : global::System.Runtime.InteropServices.ICustomQueryInterface, IEquatable<
WordSegment
>
263
public static
WordSegment
FromAbi(IntPtr thisPtr)
267
return obj is
WordSegment
? (
WordSegment
)obj : new WordSegment((global::MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.IWordSegment)obj);
275
public static bool operator ==(
WordSegment
x,
WordSegment
y) => (x?.ThisPtr ?? IntPtr.Zero) == (y?.ThisPtr ?? IntPtr.Zero);
276
public static bool operator !=(
WordSegment
x,
WordSegment
y) => !(x == y);
277
public bool Equals(
WordSegment
other) => this == other;
278
public override bool Equals(object obj) => obj is
WordSegment
that && this == that;
317
internal delegate void WordSegmentsTokenizingHandler(global::System.Collections.Generic.IEnumerable<
WordSegment
> precedingWords, global::System.Collections.Generic.IEnumerable<
WordSegment
> words);
393
public
WordSegment
GetTokenAt(string text, uint startIndex) => _default.GetTokenAt(text, startIndex);
395
public global::System.Collections.Generic.IReadOnlyList<
WordSegment
> GetTokens(string text) => _default.GetTokens(text);
1309
global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
__result = default;
1328
global::System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
> __result = default;
1335
result = global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromManaged(__result);
1395
public unsafe global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
GetTokenAt(string text, uint startIndex)
1412
public unsafe global::System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
> GetTokens(string text)
1420
return global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.FromAbi(__retval);
1425
global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeAbi(__retval);
1554
public static IObjectReference CreateMarshaler(global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
obj) => obj is null ? null : MarshalInspectable.CreateMarshaler(obj).As<IWordSegment.Vftbl>();
1556
public static global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
FromAbi(IntPtr thisPtr) => global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
.FromAbi(thisPtr);
1557
public static IntPtr FromManaged(global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
obj) => obj is null ? IntPtr.Zero : CreateMarshaler(obj).GetRef();
1558
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));
1559
public static (int length, IntPtr data) GetAbiArray(object box) => MarshalInterfaceHelper<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.GetAbiArray(box);
1560
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);
1561
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));
1563
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);
1612
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)
1620
__precedingWords = global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.CreateMarshaler(precedingWords);
1621
__words = global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.CreateMarshaler(words);
1622
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)));
1626
global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeMarshaler(__precedingWords);
1627
global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.
WordSegment
>.DisposeMarshaler(__words);
1647
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)
62
IReadOnlyList<
WordSegment
> tokens = segmenter?.GetTokens(text) ?? Array.Empty<
WordSegment
>();