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[] m开发者_如何学运维ethods = typeof(TypeOfTheService).GetMethods();
How about don't do that. Instead create a different contract containing only the Methods you would otherwise mark.
精彩评论