In This Article

FormattedPartBase<T> Class

Represents a part that uses a format for text conversion.

public abstract class FormattedPartBase<T> : PartBase<T>, IPart
Type Parameters:
T -

The part value type.

Inheritance:
object PartBase<T> object
Derived:
DoublePart Int32Part
Implements:
IPart

Constructors

FormattedPartBase()

Initializes an instance of the class.

protected FormattedPartBase()

Properties

Format

Gets or sets the format.

public string Format { get; set; }

Property Value

string:

The format.

Methods

CoerceFormat(string)

Coerces a new Format value.

protected virtual string CoerceFormat(string value)
Parameter Type Description
value string

The new value being set.

Returns

string:

The coerced value to set.

Inherited Members