=== 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:
@@ -11,18 +11,21 @@ public interface IDeviceService
|
||||
/// </summary>
|
||||
/// <param name="device">The data transfer object containing the information used to create the device.</param>
|
||||
/// <returns>A task that represents the asynchronous create operation. The task result contains the created <see cref="Device"/>, or <see langword="null"/> if the device could not be created.</returns>
|
||||
/// <!-- aidoc:v1 sig=f960817 -->
|
||||
Task<Device?> Create(DeviceDto device);
|
||||
/// <summary>
|
||||
/// Asynchronously deletes the object identified by the specified identifier.
|
||||
/// </summary>
|
||||
/// <param name="objectId">The unique identifier of the object to delete.</param>
|
||||
/// <returns>A task that represents the asynchronous delete operation. The result is <c>true</c> if the object was deleted; otherwise, <c>false</c>.</returns>
|
||||
/// <!-- aidoc:v1 sig=9c1b1e3 -->
|
||||
Task<bool> Delete(ObjectId objectId);
|
||||
/// <summary>
|
||||
/// Updates an existing device using the provided data transfer object.
|
||||
/// </summary>
|
||||
/// <param name="device">The data transfer object containing the updated device information.</param>
|
||||
/// <returns>A task that represents the asynchronous operation. The task result contains the updated device, or <c>null</c> if the device was not found.</returns>
|
||||
/// <!-- aidoc:v1 sig=74ac7b4 -->
|
||||
Task<Device?> Update(DeviceDto device);
|
||||
/// <summary>
|
||||
/// Processes an incoming event for the specified device and returns the associated <see cref="Device"/>.
|
||||
@@ -30,5 +33,6 @@ public interface IDeviceService
|
||||
/// </summary>
|
||||
/// <param name="device">The device data transfer object carrying the event information to be processed.</param>
|
||||
/// <returns>A task that represents the asynchronous operation, containing the resolved <see cref="Device"/> or <c>null</c> if no matching device was found.</returns>
|
||||
/// <!-- aidoc:v1 sig=4985fb0 -->
|
||||
Task<Device?> ReceiveEvent(DeviceDto device);
|
||||
}
|
||||
Reference in New Issue
Block a user