bgodiy
bgodiy

Reputation: 83

How to mark certain methods in WCF silverlight enabled service?

I have WCF silverlight enabled service. I have some methods in it. I need to mark certain methods in service and then to determine them when I have get all methods of service by Reflection.

MethodInfo[] methods = typeof(TypeOfTheService).GetMethods();

Upvotes: 2

Views: 115

Answers (1)

AnthonyWJones
AnthonyWJones

Reputation: 189505

How about don't do that. Instead create a different contract containing only the Methods you would otherwise mark.

Upvotes: 3

Related Questions