示例#1
0
 /// <summary>
 /// Indicates whether the given operation is contained in this snapshot as an operation that was done during the creation of the snapshot.
 /// </summary>
 /// <param name="operation">The operation to check.</param>
 /// <returns><c>True</c> if it was done during at the creation of this snapshot, false otherwise.</returns>
 /// <seealso cref="IDirtyingOperation.IsDone"/>
 public bool Contains(IDirtyingOperation operation) => operationsDone.Contains(operation);
 /// <summary>
 /// Indicates whether the given operation is contained in this snapshot as an operation that was done during the creation of the snapshot.
 /// </summary>
 /// <param name="operation">The operation to check.</param>
 /// <returns><c>True</c> if it was done during at the creation of this snapshot, false otherwise.</returns>
 /// <seealso cref="IDirtyingOperation.IsDone"/>
 public bool Contains(IDirtyingOperation operation) => operationsDone.Contains(operation);