public void PopulateUpdated( IUpdatedDocument document, bool lastUpdatedFromCatalog) { document.SetLastUpdatedDocumentOnNextRead(); document.LastDocumentType = document.GetType().FullName; document.LastUpdatedFromCatalog = lastUpdatedFromCatalog; }
public static void SetDocumentLastUpdated(IUpdatedDocument document, ITestOutputHelper output) { var currentTimestamp = document.LastUpdatedDocument; output.WriteLine( $"The commited document has a generated {nameof(document.LastUpdatedDocument)} value of " + $"{currentTimestamp:O}. Replacing this value with {DocumentLastUpdated:O}."); document.LastUpdatedDocument = DocumentLastUpdated; }
public void SetDocumentLastUpdated(IUpdatedDocument document) { Data.SetDocumentLastUpdated(document, _output); }