LEFT | RIGHT |
(Both sides are equal) |
1 /* | 1 /* |
2 Copyright 2010 Google Inc | 2 Copyright 2010 Google Inc |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 if (String.IsNullOrEmpty(value)) | 43 if (String.IsNullOrEmpty(value)) |
44 { | 44 { |
45 return !parameter.IsRequired; | 45 return !parameter.IsRequired; |
46 } | 46 } |
47 | 47 |
48 // The parameter has value so validate the regex | 48 // The parameter has value so validate the regex |
49 return ValidateRegex(parameter, value); | 49 return ValidateRegex(parameter, value); |
50 } | 50 } |
51 } | 51 } |
52 } | 52 } |
LEFT | RIGHT |