private static string GetMethodAttributeName(MethodInfo method) { return ReflectionHelper.GetAttributeValue<HubMethodNameAttribute, string>(method, a => a.MethodName); } }