Castle Windsor: Setting a parameter value to an empty string.
Posted
by Austin Salonen
on Stack Overflow
See other posts from Stack Overflow
or by Austin Salonen
Published on 2010-03-31T18:14:57Z
Indexed on
2010/03/31
19:43 UTC
Read the original article
Hit count: 394
castle-windsor
|castle-windsor-configurat
How can I allow one of my string parameters to be an empty string?
I get this error when I try either nothing or a single space (names changed):
Could not resolve non-optional dependency for 'test.User' (MyNamespace.MyObject). Parameter 'userName' type 'System.String'
© Stack Overflow or respective owner