ModelPolishExtensions Class

Polished user input (or API input) to ensure conformity. If the input is of invalid value, then the polish-pass is skipped.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static class ModelPolishExtensions
Inheritance
Object    ModelPolishExtensions

Methods

PolishEmailAddress Polish the EmailAddress property of an object. If the input is of invalid value, then the polish-pass is skipped.
PolishFreeFieldLabels Polishes the free field labels for proper usage.
PolishFreeFields Polishes extra fields of an object.
PolishLabel Polish a label by trimming it. If label is IsNullOrWhiteSpace(String), then the method returns .
If the input is of invalid value, then the polish-pass is skipped.
PolishName Polish a name of a person, by trimming it and making it lowercase (except for first character) If the input is of invalid value, then the polish-pass is skipped.

See Also