Table of Contents

Struct FormattableStringHelper.FormatItem

Namespace
LinqToDB.Internal.Common
Assembly
linq2db.dll

A format item ({index[,alignment][:format]}) of a composite format string.

public readonly struct FormattableStringHelper.FormatItem
Inherited Members
Extension Methods

Constructors

FormatItem(int, int, int, int, int, bool)

Creates a format item.

public FormatItem(int start, int length, int index, int indexStart, int indexLength, bool hasAlignment)

Parameters

start int
length int
index int
indexStart int
indexLength int
hasAlignment bool

Properties

HasAlignment

true when the item has an alignment component ({0,5}).

public bool HasAlignment { get; }

Property Value

bool

Index

Argument index.

public int Index { get; }

Property Value

int

IndexLength

Number of digits of the argument index.

public int IndexLength { get; }

Property Value

int

IndexStart

Position of the first digit of the argument index.

public int IndexStart { get; }

Property Value

int

Length

Length of the item, both braces included.

public int Length { get; }

Property Value

int

Start

Position of the opening brace.

public int Start { get; }

Property Value

int