You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/BlazorWorker.WorkerCore/InitOptions.cs
+25-14Lines changed: 25 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ public WorkerInitOptions()
40
40
/// <summary>
41
41
/// If set to true, deducts the name of the assembly containing the service using the service type assembly name + dll extension as file name, and adds it as a dependency.
@@ -64,40 +64,51 @@ public WorkerInitOptions MergeWith(WorkerInitOptions initOptions)
64
64
/// </summary>
65
65
publicstaticclassWorkerInitOptionsExtensions
66
66
{
67
+
67
68
/// <summary>
68
-
/// Deducts the name of the assembly containing the service using the the service type assembly name + dll extension as file name, and adds it as a dependency.
69
+
/// Adds the specified assembly filesnames as dependencies
/// Deducts the name of the assembly containing the specified type using the assembly name with dll extension as file name, and adds it as a dependency.
82
+
/// Deducts the name of the assembly containing the service using the the service type assembly name with dll extension as file name, and adds it as a dependency.
/// Deducts the name of the assembly containing the specified <typeparamref name="T"/> using the assembly name with dll extension as file name, and adds it as a dependency.
/// Registers the neccessary dependencies for instanciating <see cref="System.Net.Http.HttpClient"/> in the background service.
104
+
/// Registers the neccessary dependencies for injecting or instanciating <see cref="System.Net.Http.HttpClient"/> in the background service.
92
105
/// </summary>
93
106
/// <param name="source"></param>
94
107
/// <returns></returns>
108
+
/// <remarks>When this method has been called, <see cref="System.Net.Http.HttpClient"/> can be used inside the service either by instanciating it or by injection into the constructor.</remarks>
0 commit comments