public DecimalValueConverter(IEnumerable <string> removeCharacters) { Guards.NotNull(removeCharacters, "removeCharacters cannot be null"); foreach (var removeCharacter in removeCharacters) { Guards.NotNullOrEmpty(removeCharacter, "removeCharacter cannot be null"); } this.RemoveCharacters = removeCharacters; }
public PropertyValidator(BasePropertyDefinition definition) { Guards.NotNull(definition, "definition cannot be null"); this.definition = definition; }
public DateValueConverter(string inputFormat, string outputFormat = null) { Guards.NotNull(inputFormat, "format"); this.InputFormat = inputFormat; this.OutputFormat = outputFormat == null ? inputFormat : outputFormat; }
public MatchEnumValueConverter(T value) { Guards.NotNull(value, "value"); Value = value; }