public void SetInterfaceConstraints(params Type[] interfaceConstraints) { foreach (Type type in interfaceConstraints) { AddConstraint(type); } }