-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do I use optional parameters in Java? What specification supports optional parameters?
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu] This is the seventeenth in a series of blog posts I’m doing on the upcoming VS 2010 and .NET 4 release. Today’s post covers two new language feature being added to C#…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is there any way to specify optional parameters (such as when search parameters are provided from a form and not all parameters are required) in a named query when using Hibernate? I'm using a native SQL query, but the question is probably applicable to named HQL queries as well.
I'm pretty sure…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
With the SoapClient class on PHP5.x and working against a SOAP web service that has optional parameters in its methods, you won't have any problem if you use the non-wsdl mode.
But, at least by default, with the wsdl mode, if you don't fill all the parameters you will get an error like:
SOAP-ERROR:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am a big fan of optional parameters in C#4 but am having an issue with MVC when I use them in my controller constructors. For example, if I have a single constructor:
public TestController(sting a = "") { /* blah */ }
MVC has a fit saying that there are no parameterless constructors for TestController…
>>> More