Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiInterventionEducationContent" /> class.
 /// </summary>
 /// <param name="EducationContentReference">EducationContentReference (required).</param>
 public EdFiInterventionEducationContent(EdFiEducationContentReference EducationContentReference = default(EdFiEducationContentReference))
 {
     // to ensure "EducationContentReference" is required (not null)
     if (EducationContentReference == null)
     {
         throw new InvalidDataException("EducationContentReference is a required property for EdFiInterventionEducationContent and cannot be null");
     }
     else
     {
         this.EducationContentReference = EducationContentReference;
     }
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiEducationContentDerivativeSourceEducationContent" /> class.
 /// </summary>
 /// <param name="DerivativeSourceEducationContentReference">DerivativeSourceEducationContentReference (required).</param>
 public EdFiEducationContentDerivativeSourceEducationContent(EdFiEducationContentReference DerivativeSourceEducationContentReference = default(EdFiEducationContentReference))
 {
     // to ensure "DerivativeSourceEducationContentReference" is required (not null)
     if (DerivativeSourceEducationContentReference == null)
     {
         throw new InvalidDataException("DerivativeSourceEducationContentReference is a required property for EdFiEducationContentDerivativeSourceEducationContent and cannot be null");
     }
     else
     {
         this.DerivativeSourceEducationContentReference = DerivativeSourceEducationContentReference;
     }
 }