コード例 #1
0
 /// <summary>
 /// Sets the current usage of the <see cref="BinaryStreamIoSessionBase"/> to null.
 /// </summary>
 public override void Clear()
 {
     if (IsDisposed || m_dataIoSession.IsDisposed)
     {
         throw new ObjectDisposedException(GetType().FullName);
     }
     m_dataIoSession.Clear();
 }
コード例 #2
0
 /// <summary>
 /// Releases all of the data associated with the I/O Sessions.
 /// </summary>
 public void Clear()
 {
     if (SourceData != null)
     {
         SourceData.Clear();
     }
     if (DestinationData != null)
     {
         DestinationData.Clear();
     }
     if (SourceIndex != null)
     {
         SourceIndex.Clear();
     }
     if (DestinationIndex != null)
     {
         DestinationIndex.Clear();
     }
 }