public HubMethodNameAttribute(string methodName) { if (String.IsNullOrEmpty(methodName)) { throw new ArgumentNullException("methodName"); } MethodName = methodName; }