/// <summary> /// Capture requirements related with ExclusiveLockSubResponseDataType. /// </summary> /// <param name="exclusiveLockSubResponseDataType">The ExclusiveLockSubResponseDataType</param> /// <param name="site">Instance of ITestSite</param> public static void ValidateExclusiveLockSubResponseDataType(ExclusiveLockSubResponseDataType exclusiveLockSubResponseDataType, ITestSite site) { // Verify MS-FSSHTTP requirement: MS-FSSHTTP_R645 // if can launch this method, the schema matches. site.CaptureRequirement( "MS-FSSHTTP", 645, @"[In ExclusiveLockSubResponseDataType][ExclusiveLockSubResponseDataType schema is:] <xs:complexType name=""ExclusiveLockSubResponseDataType""> <xs:attribute name=""CoauthStatus"" type=""tns:CoauthStatusType"" use=""optional""/> <xs:attribute name=""TransitionID"" type=""tns:guid"" use=""optional""/> </xs:complexType>"); if (exclusiveLockSubResponseDataType.CoauthStatusSpecified) { // Verify the CoauthStatusType schema related requirements. ValidateCoauthStatusType(site); } if (exclusiveLockSubResponseDataType.TransitionID != null) { // Verify the GUID schema related requirements. ValidateGUID(site); } // Verify MS-FSSHTTP requirement: MS-FSSHTTP_R1393 // if can launch this method, the schema matches. site.CaptureRequirement( "MS-FSSHTTP", 1393, @"[In SubResponseDataGenericType][SubResponseDataGenericType MUST take one of the forms described in the following table] ExclusiveLockSubResponseDataType: Type definition for exclusive lock subresponse data."); // Verify MS-FSSHTTP requirement: MS-FSSHTTP_R660 // if can launch this method, the schema matches. site.CaptureRequirement( "MS-FSSHTTP", 660, @"[In ExclusiveLockSubResponseType] SubResponseData: A ExclusiveLockSubResponseDataType that specifies exclusive lock-related information provided by the protocol server that was requested as part of the exclusive lock subrequest."); // Verify MS-FSSHTTP requirement: MS-FSSHTTP_R1225 // if can launch this method, the schema matches. site.CaptureRequirement( "MS-FSSHTTP", 1225, @"[In ExclusiveLock Subrequest] The ExclusiveLockSubResponseDataType defines the type of the SubResponseData element inside the exclusive lock SubResponse element."); }