Home  /  Questions  /  Question



108   96.7
Aug 11, 2011


Calling Method

Is there a way to not call the code below. I just want to give the URL to where the service is located without telling them to inlude this method in their project or does that have to be included?

example:

var

but Client gets instatiated by the protected method below. Want to make it as easy as possible for someone to use my service.

Thanks

response = Client.GetDocuments(request);
 1 comment
 
Would a simple public static method to your class work? respose = YourClass.Method(request); and then in that method you hide all the details. --- Danut Prisacau  Aug 18, 2011



108   96.7
Aug 18, 2011

Would a simple public static method to your class work?

respose = YourClass.Method(request);

and then in that method you hide all the details.