Reputation: 83
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
Reputation: 189505
How about don't do that. Instead create a different contract containing only the Methods you would otherwise mark.
Upvotes: 3