Skip to content

Commit 509fa50

Browse files
committed
fix: remove UpdateReporter<T>() re-added by docs commit
1 parent 2dabb4a commit 509fa50

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

src/c#/GeneralUpdate.Core/Configuration/AbstractBootstrap.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -243,27 +243,6 @@ protected T GetOption<T>(UpdateOption<T>? option)
243243
}
244244

245245
/// <summary>
246-
/// Registers an update status reporter for reporting update progress and results
247-
/// to a server (e.g., GeneralSpacestation).
248-
/// </summary>
249-
/// <typeparam name="T">The reporter implementation type; must implement
250-
/// <c>IUpdateReporter</c> and have a parameterless constructor.</typeparam>
251-
/// <returns>The current <typeparamref name="TBootstrap"/> instance for chaining.</returns>
252-
/// <remarks>
253-
/// <para>The reporter is invoked at key points in the update workflow:</para>
254-
/// <para>- Update starts: <c>ReportAsync(Updating)</c>.</para>
255-
/// <para>- Download completes: <c>ReportAsync(Updating)</c>.</para>
256-
/// <para>- Update applied successfully: <c>ReportAsync(Success)</c>.</para>
257-
/// <para>- Update failed: <c>ReportAsync(Failure)</c>.</para>
258-
/// <para>The default implementation is <c>NoOpUpdateReporter</c> (no-op). All reporter
259-
/// invocations are wrapped in try-catch; a single failure does not block the workflow.</para>
260-
/// </remarks>
261-
public TBootstrap UpdateReporter<T>() where T : Download.Reporting.IUpdateReporter, new()
262-
{
263-
_extensions[typeof(Download.Reporting.IUpdateReporter)] = typeof(T);
264-
return (TBootstrap)this;
265-
}
266-
267246
/// <summary>
268247
/// Registers an HTTP authentication provider for attaching authentication credentials
269248
/// to download requests.

0 commit comments

Comments
 (0)