public static HandlerDescriptor Create(MethodInfo method, HandlerAttribute attribute) { return(new HandlerDescriptor(method, attribute)); }
private HandlerDescriptor(MethodInfo method, HandlerAttribute attribute) { Method = method; Attribute = attribute; }