Sorry, Dario, I read the unit tests and understand now.
On Apr 15, 1:55 pm, Lars Zeb wrote:
> I have created a customer class validator and it works OK. Using third-
> party software, it validates a postal address. This address validator
> uses Address, City, State and Zip properties.
>
> Instea
] On Behalf
Of Dario Quintana
Sent: Saturday, April 18, 2009 2:43 PM
To: nhusers@googlegroups.com
Subject: [nhusers] Re: NHibernate Validator custom message
${propertyname} is a new way to interpolate with NHV. It will interpolate
the value of the property into your message, the property exists
ContextCallback callback, Object state)
>
> at System.Threading.ThreadHelper.ThreadStart()
>
> InnerException: *From:* nhusers@googlegroups.com [mailto:
> nhus...@googlegroups.com] *On Behalf Of *Dario Quintana
> *Sent:* Wednesday, April 15, 2009 2:40 PM
> *To:* nhusers@
nContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: From: nhusers@googlegroups.com
[mailto:nhus...@googlegroups.com] On Behalf Of Dario Quintana
Sent: Wednesday, April 15, 2009 2:40 PM
To: nhusers@googlegroups.com
Subject:
Hi
Right now I think you can't do that, for that matter, but I have something
in mind. Will review this later.
Maybe you can workaround this using the NHV1.2(alpha but stable) doing
something like this:
"${PropertyWithMessage}"
And your class has a property *PropertyWithMessage* as string. I kn