File tree Expand file tree Collapse file tree
src/c#/GeneralUpdate.Core/Configuration Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments