In This Article

NumberPart<T> Class

Represents a numeric part that uses a format for text conversion and supports spinning.

public class NumberPart<T> : NumberPartBase<T>, ISpinnablePart<T?>, IPart where T : struct, INumber<T>, IMinMaxValue<T>
Type Parameters:
T -

The part value type.

Inheritance:
object PartBase<T?> FormattedPartBase<T?> NumberPartBase<T> object
Derived:
FloatingPointNumberPart<T> Int32Part
Implements:
ISpinnablePart<T?> IPart

Constructors

NumberPart(string?)

Initializes an instance of the class.

public NumberPart(string? format = null)
Parameter Type Description
format string

The numeric or composite format.

See Also

Inherited Members

Extension Methods

See Also