private Type GetProxyType(ITypeDescriptorContext context) { IDictionaryService dictionary = VsHelper.GetService <IDictionaryService>(context, true); Type proxyType = (Type)dictionary.GetValue(ProxyArgumentName); return(proxyType); }
private List <MethodInfo> GetMethodsList(ITypeDescriptorContext context) { IDictionaryService dictionary = VsHelper.GetService <IDictionaryService>(context, true); List <MethodInfo> methodsList = (List <MethodInfo>)dictionary.GetValue(MethodsArgumentName); return(methodsList); }