Reformatting the code according to castle guidelines.
[castle.git] / Components / General / Validator / Castle.Components.Validator / MessageConstants.cs
blobb7b1c8f61def0cb864e6969af88b07bbc9c2c7f5
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.Components.Validator
17 internal class MessageConstants
19 public const string GenericInvalidField = "generic_invalid";
20 public const string IsRequiredMessage = "isrequired";
21 public const string ExactLengthMessage = "exactlength";
22 public const string LengthTooLongMessage = "length_toolong";
23 public const string LengthTooShortMessage = "length_tooshort";
24 public const string LenghtInRangeMessage = "length_invalidrange";
25 public const string InvalidEmailMessage = "email";
26 public const string InvalidIntegerMessage = "integer_invalid";
27 public const string InvalidDateMessage = "date_invalid";
28 public const string InvalidDoubleMessage = "double_invalid";
29 public const string InvalidSingleMessage = "single_invalid";
30 public const string InvalidTimeMessage = "time_invalid";
31 public const string InvalidDecimalMessage = "decimal_invalid";
32 public const string SameAsMessage = "same_as_invalid";
33 public const string InvalidRangeMessage = "range_invalid";
34 public const string RangeTooHighMessage = "range_toohigh";
35 public const string RangeTooLowMessage = "range_toolow";
36 public const string RangeTooHighOrLowMessage = "range_toohighorlow";
37 public const string NotSameAsMessage = "not_same_as_invalid";
38 public const string GroupNotEmpty = "group_not_empty_invalid";
39 public const string GroupNotEmptySeperator = "group_not_empty_seperator";
40 public const string CollectionNotEmpty = "collection_not_empty";