5 namespace SiliconStudio.ActionStack
11 public sealed
class SavePoint : IEquatable<SavePoint>
19 ActionItemIdentifier = identifier;
25 public Guid ActionItemIdentifier {
get;
private set; }
35 return ActionItemIdentifier.GetHashCode();
39 public override bool Equals(
object obj)
41 return obj != null && Equals(obj as
SavePoint);
47 if ((
object)other == null)
51 return ActionItemIdentifier == other.ActionItemIdentifier;
64 if (ReferenceEquals(left, right))
68 if ((
object)left == null || (
object)right == null)
72 return left.ActionItemIdentifier == right.ActionItemIdentifier;
83 return !(left == right);
override bool Equals(object obj)
Represents a save point marker in the undo/redo action items stack.
bool Equals(SavePoint other)
override int GetHashCode()