Documentation
Table of Contents

Class SourceFormat

Namespace
IntentSharp.Mapping
Assembly
IntentSharp.dll

What the caller declares about the format of one input member, so that a mapping may parse, split or join it without guessing. A declaration is part of the mapping key: changing it compiles the mapping again.

public sealed class SourceFormat
Inheritance
object
SourceFormat
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

SourceFormat()

Creates a declaration with nothing declared.

Properties

DateFormats

The exact date formats the member is written in, such as dd/MM/yyyy; a date parse may use only stated formats or ISO 8601.

DecimalSeparator

The decimal separator the member's numbers use; a decimal or double parse needs it declared.

FixedFormat

True when the member has a fixed format, so that a mapping may split, cut or join it.

GroupSeparator

The group (thousands) separator the member's numbers use; a number parse may skip group separators only when this is declared.

Mask

The member's fixed-format mask: 9 for a digit, A for a letter, any other character as itself, such as AAA-9999. A mask declares the member fixed-format, and a value that does not match it fails before a split or a cut. It counts characters (Unicode scalar values, so a character outside the Basic Multilingual Plane is one position), and Take counts its positions the same way.

TimeZone

The IANA time zone the member's local times are in, such as America/New_York.