/// <summary> /// Verify the NonEmptyArrayOfDeletedOccurrencesType structure. /// </summary> /// <param name="arrayOfDeletedOccurrences">Contains a list of deleted occurrences of a recurring calendar item</param> /// <param name="isSchemaValidated">The result of schema validation, true means valid.</param> private void VerifyNonEmptyArrayOfDeletedOccurrencesType(DeletedOccurrenceInfoType[] arrayOfDeletedOccurrences, bool isSchemaValidated) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSMTGS_R371"); // Verify MS-OXWSMTGS requirement: MS-OXWSMTGS_R371 Site.CaptureRequirementIfIsTrue( isSchemaValidated, 371, @"[In t:NonEmptyArrayOfDeletedOccurrencesType Complex Type] [its schema is] <xs:complexType name=""NonEmptyArrayOfDeletedOccurrencesType""> <xs:sequence> <xs:element name=""DeletedOccurrence"" type=""t:DeletedOccurrenceInfoType"" maxOccurs=""unbounded"" /> </xs:sequence> </xs:complexType>"); if (arrayOfDeletedOccurrences != null && arrayOfDeletedOccurrences.Length > 0) { this.VerifyDeletedOccurrenceInfoType(isSchemaValidated); } }