void FastForward(ICommandContext commandContext, T aggregateRoot) { var identifier = _applicationResources.Identify(typeof(T)); var version = _eventSourceVersions.GetFor(identifier, aggregateRoot.EventSourceId); aggregateRoot.FastForward(version); }
void FastForward(ICommandContext commandContext, T aggregateRoot) { _logger.Trace($"FastForward - {typeof(T).AssemblyQualifiedName}"); var identifier = _applicationResources.Identify(typeof(T)); _logger.Trace($"With identifier '{identifier?.ToString()??"<unknown identifier>"}'"); var version = _eventSourceVersions.GetFor(identifier, aggregateRoot.EventSourceId); aggregateRoot.FastForward(version); }