public ActionDescriptor(CodeGeneratorDescriptor descriptor, MethodInfo method) { if (descriptor == null) { throw new ArgumentNullException(nameof(descriptor)); } if (method == null) { throw new ArgumentNullException(nameof(method)); } Generator = descriptor; ActionMethod = method; }
public ActionDescriptor([NotNull] CodeGeneratorDescriptor descriptor, [NotNull] MethodInfo method) { Generator = descriptor; ActionMethod = method; }