public RegistrationRule(DateTime startDate, DateTime?endDate, int maxRegistrants) { _registrationRule = new MPRegistrationRule { StartDate = startDate, EndDate = endDate, MaximumRegistrants = maxRegistrants }; }
RegistrationRule(MPRegistrationRule registrationRule) { _registrationRule = registrationRule; }