Microsoft.Protocols.TestSuites.MS_OXCFXICS.Deletions.Verify C# (CSharp) Method

Verify() public static method

Verify that a stream's current position contains a serialized deletions.
public static Verify ( FastTransferStream stream ) : bool
stream FastTransferStream A FastTransferStream.
return bool
        public static bool Verify(FastTransferStream stream)
        {
            return stream.VerifyMarker(Markers.PidTagIncrSyncDel);
        }

Usage Example

コード例 #1
0
 /// <summary>
 /// Verify that a stream's current position contains a serialized hierarchySync.
 /// </summary>
 /// <param name="stream">A FastTransferStream.</param>
 /// <returns>If the stream's current position contains
 /// a serialized hierarchySync, return true, else false.</returns>
 public static bool Verify(FastTransferStream stream)
 {
     return((FolderChange.Verify(stream) ||
             Deletions.Verify(stream) ||
             State.Verify(stream)) &&
            stream.VerifyMarker(
                Markers.PidTagIncrSyncEnd,
                (int)stream.Length - MarkersHelper.PidTagLength - (int)stream.Position));
 }
All Usage Examples Of Microsoft.Protocols.TestSuites.MS_OXCFXICS.Deletions::Verify