Thanks, Mauricio. Rgds, Soren
On Mar 5, 4:12 pm, Mauricio Scheffer <[email protected]> wrote: > ValidateNonEmptyAttribute can be applied to any type, not just > strings. > But if you're looking to allow empty strings but not nulls, then no, I > don't think such a validator is included (it's very easy to implement > it though). > > Cheers, > Mauricio > > On Mar 5, 11:20 am, Soren <[email protected]> wrote: > > > > > How to declare that an object reference must not be null with Castle > > Validator Component? > > > ValidateNonEmptyAttribute: Validate that the property is not null or > > empty (for strings) > > > What's the equivalent for validating just that a property is not null? > > So it can be used to validate an object reference. > > > Kind regards, > > Soren -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
