Help forming error handling email! - RichardSerote |
20-Jul-07 11:12:01
|
In similar situations I've had a helper component that took in the
distinguished field as a (object) parameter, and the component checks for
empty or null values before returning a formatted response.
--
Richard Seroter
http://seroter.wordpress.com |
 |
| |
Help forming error handling email! - KeithP |
20-Jul-07 03:09:38
|
that sounds like what I would like to do, but I'm not sure how to pass
field you are interested in as a seperate parameter or is there a way
to pass an object that contains them all?
Thanks so much for your help. |
 |
| |
Help forming error handling email! - RichardSerote |
20-Jul-07 04:56:01
|
In my case, I just created a static method like so ...
public static string ExtractValue(object distValue)
{
//check for null, or empty
}
and called it for each item that I needed handled. Not sure how I'd pass
the whole distinguished field property bag in, unless you want your operation
to accept the XLangMessage itself ...
--
Richard Seroter
http://seroter.wordpress.com |
 |
| |
Help forming error handling email! - Jan Eliasen |
05-Aug-07 05:22:58
|
in your expression shape:
exists <property> <message>
it returns a boolean describing whether the property exists.
--
eliasen, representing himself and not the company he works for.
Private blog: http://blog.eliasen.dk
Private email: jan@eliasen.dk |
 |
| |