/// <summary>
 /// Gets the state changes applied to this instance.
 /// </summary>
 /// <returns>A list of recorded state changes.</returns>
 public IEnumerable <object> GetChanges()
 {
     return(_recorder.ToArray());
 }
 /// <summary>
 ///     Gets the state changes applied to this instance.
 /// </summary>
 /// <returns>A list of recorded state changes.</returns>
 public IEnumerable <object> GetChanges() => _recorder.ToArray();