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.
- Derived:
- DoublePart Int32Part
- Implements:
- IPart
Constructors
FormattedPartBase()
Initializes an instance of the class.
protected FormattedPartBase()
Properties
Format
Gets or sets 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
- PartBase<T>.TryParseText(IList<IPart>, string, int, CultureInfo, out int)
- PartBase<T>.IsEditable
- PartBase<T>.IsLiteral
- PartBase<T>.IsOptional
- PartBase<T>.Length
- PartBase<T>.StartOffset
- PartBase<T>.StringValue
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()