=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -10,6 +10,7 @@ public interface IHistoricalConfigChangesService
|
||||
/// Asynchronously retrieves all historical configuration changes recorded in the system.
|
||||
/// </summary>
|
||||
/// <returns>A task that represents the asynchronous operation. The task result contains a collection of all <see cref="HistoricalConfigChanges"/> entries.</returns>
|
||||
/// <!-- aidoc:v1 sig=89e2dae -->
|
||||
Task<ICollection<HistoricalConfigChanges>> GetAll();
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves a historical configuration change entry by its unique identifier.
|
||||
@@ -17,6 +18,7 @@ public interface IHistoricalConfigChangesService
|
||||
/// </summary>
|
||||
/// <param name="id">The unique identifier of the historical configuration change to retrieve.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, containing the matching <see cref="HistoricalConfigChanges"/> or null if not found.</returns>
|
||||
/// <!-- aidoc:v1 sig=4bce1e5 -->
|
||||
Task<HistoricalConfigChanges?> Get(ObjectId id);
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves a collection of historical configuration changes filtered by the specified configuration type.
|
||||
@@ -24,6 +26,7 @@ public interface IHistoricalConfigChangesService
|
||||
/// <param name="type">The configuration type used to filter the historical changes.</param>
|
||||
/// <param name="num">The maximum number of historical change records to return.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, containing a collection of <see cref="HistoricalConfigChanges"/> for the specified type.</returns>
|
||||
/// <!-- aidoc:v1 sig=984ce5a -->
|
||||
Task<ICollection<HistoricalConfigChanges>> GetByType(DisplayConfigEnums.ConfigTypes type, int num);
|
||||
|
||||
/// <summary>
|
||||
@@ -34,6 +37,7 @@ public interface IHistoricalConfigChangesService
|
||||
/// <param name="configTypes">The optional configuration type used to filter the results; if null, changes for all configuration types are returned.</param>
|
||||
/// <param name="num">The maximum number of historical configuration change records to return.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, containing the collection of historical configuration changes matching the specified criteria.</returns>
|
||||
/// <!-- aidoc:v1 sig=ceca012 -->
|
||||
Task<ICollection<HistoricalConfigChanges>> GetByUser(string user, DisplayConfigEnums.ConfigTypes? configTypes,
|
||||
int num);
|
||||
|
||||
@@ -43,6 +47,7 @@ public interface IHistoricalConfigChangesService
|
||||
/// </summary>
|
||||
/// <param name="configTypes">The configuration type used to look up the most recent historical changes.</param>
|
||||
/// <returns>A task that represents the asynchronous operation. The task result contains the last <see cref="HistoricalConfigChanges"/> for the specified type, or null if no changes are available.</returns>
|
||||
/// <!-- aidoc:v1 sig=899c410 -->
|
||||
Task<HistoricalConfigChanges?> FindLastConfigChanges(DisplayConfigEnums.ConfigTypes configTypes);
|
||||
|
||||
|
||||
@@ -52,18 +57,21 @@ public interface IHistoricalConfigChangesService
|
||||
/// </summary>
|
||||
/// <param name="historicalConfigChanges">The historical configuration change entity to be inserted.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, containing the inserted <see cref="HistoricalConfigChanges"/> entity, or null if the insertion did not produce a result.</returns>
|
||||
/// <!-- aidoc:v1 sig=ae5c68c -->
|
||||
Task<HistoricalConfigChanges?> InsertOne(HistoricalConfigChanges historicalConfigChanges);
|
||||
/// <summary>
|
||||
/// Updates an existing historical configuration change record with the provided data and returns the updated entity.
|
||||
/// </summary>
|
||||
/// <param name="historicalConfigChanges">The historical configuration change entity containing the updated values to be persisted.</param>
|
||||
/// <returns>A task that resolves to the updated <see cref="HistoricalConfigChanges"/>, or <c>null</c> if the record was not found.</returns>
|
||||
/// <!-- aidoc:v1 sig=f875ebb -->
|
||||
Task<HistoricalConfigChanges?> UpdateHistoricalConfigChange(HistoricalConfigChanges historicalConfigChanges);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes a historical configuration change identified by the specified identifier.
|
||||
/// </summary>
|
||||
/// <param name="id">The identifier of the historical configuration change to delete.</param>
|
||||
/// <!-- aidoc:v1 sig=b0535af -->
|
||||
Task DeleteHistoricalConfigChange(ObjectId id);
|
||||
|
||||
/// <summary>
|
||||
@@ -73,5 +81,6 @@ public interface IHistoricalConfigChangesService
|
||||
/// <param name="configType">The type of configuration that was changed.</param>
|
||||
/// <param name="newConfig">The new configuration value after the change.</param>
|
||||
/// <param name="oldConfig">The previous configuration value before the change.</param>
|
||||
/// <!-- aidoc:v1 sig=6dd04c6 -->
|
||||
Task LogConfigChanged(string user, DisplayConfigEnums.ConfigTypes configType, string newConfig, string oldConfig);
|
||||
}
|
||||
Reference in New Issue
Block a user