Table of Contents

Struct SplitResult<T>

Namespace
Avalonia.Media.TextFormatting
Assembly
Avalonia.Base.dll
public readonly struct SplitResult<T>

Type Parameters

T
Inherited Members

Constructors

SplitResult(T, T?)

public SplitResult(T first, T? second)

Parameters

first T
second T

Properties

First

Gets the first part.

public T First { get; }

Property Value

T

The first part.

Second

Gets the second part.

public T? Second { get; }

Property Value

T

The second part.

Methods

Deconstruct(out T, out T?)

Deconstructs the split results into its components.

public void Deconstruct(out T first, out T? second)

Parameters

first T

On return, contains the first part.

second T

On return, contains the second part.