Microsoft.Extensions.DependencyInjection.Abstractions.xml 95 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Microsoft.Extensions.DependencyInjection.Abstractions</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities">
  8. <summary>
  9. Helper code for the various activator services.
  10. </summary>
  11. </member>
  12. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider,System.Type,System.Object[])">
  13. <summary>
  14. Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider"/>.
  15. </summary>
  16. <param name="provider">The service provider used to resolve dependencies</param>
  17. <param name="instanceType">The type to activate</param>
  18. <param name="parameters">Constructor arguments not provided by the <paramref name="provider"/>.</param>
  19. <returns>An activated object of type instanceType</returns>
  20. </member>
  21. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])">
  22. <summary>
  23. Create a delegate that will instantiate a type with constructor arguments provided directly
  24. and/or from an <see cref="T:System.IServiceProvider"/>.
  25. </summary>
  26. <param name="instanceType">The type to activate</param>
  27. <param name="argumentTypes">
  28. The types of objects, in order, that will be passed to the returned function as its second parameter
  29. </param>
  30. <returns>
  31. A factory that will instantiate instanceType using an <see cref="T:System.IServiceProvider"/>
  32. and an argument array containing objects matching the types defined in argumentTypes
  33. </returns>
  34. </member>
  35. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])">
  36. <summary>
  37. Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider"/>.
  38. </summary>
  39. <typeparam name="T">The type to activate</typeparam>
  40. <param name="provider">The service provider used to resolve dependencies</param>
  41. <param name="parameters">Constructor arguments not provided by the <paramref name="provider"/>.</param>
  42. <returns>An activated object of type T</returns>
  43. </member>
  44. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance``1(System.IServiceProvider)">
  45. <summary>
  46. Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
  47. </summary>
  48. <typeparam name="T">The type of the service</typeparam>
  49. <param name="provider">The service provider used to resolve dependencies</param>
  50. <returns>The resolved service or created instance</returns>
  51. </member>
  52. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(System.IServiceProvider,System.Type)">
  53. <summary>
  54. Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
  55. </summary>
  56. <param name="provider">The service provider</param>
  57. <param name="type">The type of the service</param>
  58. <returns>The resolved service or created instance</returns>
  59. </member>
  60. <member name="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute">
  61. <summary>
  62. Marks the constructor to be used when activating type using <see cref="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities"/>.
  63. </summary>
  64. </member>
  65. <member name="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope">
  66. <summary>
  67. An <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> implementation that implements <see cref="T:System.IAsyncDisposable" />.
  68. </summary>
  69. </member>
  70. <member name="M:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.#ctor(Microsoft.Extensions.DependencyInjection.IServiceScope)">
  71. <summary>
  72. Initializes a new instance of the <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> struct.
  73. Wraps an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" />.
  74. </summary>
  75. <param name="serviceScope">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> instance to wrap.</param>
  76. </member>
  77. <member name="P:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.ServiceProvider">
  78. <inheritdoc />
  79. </member>
  80. <member name="M:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.Dispose">
  81. <inheritdoc />
  82. </member>
  83. <member name="M:Microsoft.Extensions.DependencyInjection.AsyncServiceScope.DisposeAsync">
  84. <inheritdoc />
  85. </member>
  86. <member name="T:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions">
  87. <summary>
  88. Extension methods for adding and removing services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
  89. </summary>
  90. </member>
  91. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  92. <summary>
  93. Adds the specified <paramref name="descriptor"/> to the <paramref name="collection"/>.
  94. </summary>
  95. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  96. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to add.</param>
  97. <returns>A reference to the current instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</returns>
  98. </member>
  99. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
  100. <summary>
  101. Adds a sequence of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to the <paramref name="collection"/>.
  102. </summary>
  103. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  104. <param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s to add.</param>
  105. <returns>A reference to the current instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</returns>
  106. </member>
  107. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  108. <summary>
  109. Adds the specified <paramref name="descriptor"/> to the <paramref name="collection"/> if the
  110. service type hasn't already been registered.
  111. </summary>
  112. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  113. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to add.</param>
  114. </member>
  115. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
  116. <summary>
  117. Adds the specified <paramref name="descriptors"/> to the <paramref name="collection"/> if the
  118. service type hasn't already been registered.
  119. </summary>
  120. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  121. <param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s to add.</param>
  122. </member>
  123. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  124. <summary>
  125. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
  126. to the <paramref name="collection"/> if the service type hasn't already been registered.
  127. </summary>
  128. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  129. <param name="service">The type of the service to register.</param>
  130. </member>
  131. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  132. <summary>
  133. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
  134. with the <paramref name="implementationType"/> implementation
  135. to the <paramref name="collection"/> if the service type hasn't already been registered.
  136. </summary>
  137. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  138. <param name="service">The type of the service to register.</param>
  139. <param name="implementationType">The implementation type of the service.</param>
  140. </member>
  141. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  142. <summary>
  143. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
  144. using the factory specified in <paramref name="implementationFactory"/>
  145. to the <paramref name="collection"/> if the service type hasn't already been registered.
  146. </summary>
  147. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  148. <param name="service">The type of the service to register.</param>
  149. <param name="implementationFactory">The factory that creates the service.</param>
  150. </member>
  151. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  152. <summary>
  153. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
  154. to the <paramref name="collection"/> if the service type hasn't already been registered.
  155. </summary>
  156. <typeparam name="TService">The type of the service to add.</typeparam>
  157. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  158. </member>
  159. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  160. <summary>
  161. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
  162. implementation type specified in <typeparamref name="TImplementation"/>
  163. to the <paramref name="collection"/> if the service type hasn't already been registered.
  164. </summary>
  165. <typeparam name="TService">The type of the service to add.</typeparam>
  166. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  167. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  168. </member>
  169. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  170. <summary>
  171. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> service
  172. using the factory specified in <paramref name="implementationFactory"/>
  173. to the <paramref name="services"/> if the service type hasn't already been registered.
  174. </summary>
  175. <typeparam name="TService">The type of the service to add.</typeparam>
  176. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  177. <param name="implementationFactory">The factory that creates the service.</param>
  178. </member>
  179. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  180. <summary>
  181. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
  182. to the <paramref name="collection"/> if the service type hasn't already been registered.
  183. </summary>
  184. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  185. <param name="service">The type of the service to register.</param>
  186. </member>
  187. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  188. <summary>
  189. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
  190. with the <paramref name="implementationType"/> implementation
  191. to the <paramref name="collection"/> if the service type hasn't already been registered.
  192. </summary>
  193. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  194. <param name="service">The type of the service to register.</param>
  195. <param name="implementationType">The implementation type of the service.</param>
  196. </member>
  197. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  198. <summary>
  199. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
  200. using the factory specified in <paramref name="implementationFactory"/>
  201. to the <paramref name="collection"/> if the service type hasn't already been registered.
  202. </summary>
  203. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  204. <param name="service">The type of the service to register.</param>
  205. <param name="implementationFactory">The factory that creates the service.</param>
  206. </member>
  207. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  208. <summary>
  209. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
  210. to the <paramref name="collection"/> if the service type hasn't already been registered.
  211. </summary>
  212. <typeparam name="TService">The type of the service to add.</typeparam>
  213. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  214. </member>
  215. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  216. <summary>
  217. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
  218. implementation type specified in <typeparamref name="TImplementation"/>
  219. to the <paramref name="collection"/> if the service type hasn't already been registered.
  220. </summary>
  221. <typeparam name="TService">The type of the service to add.</typeparam>
  222. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  223. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  224. </member>
  225. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  226. <summary>
  227. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> service
  228. using the factory specified in <paramref name="implementationFactory"/>
  229. to the <paramref name="services"/> if the service type hasn't already been registered.
  230. </summary>
  231. <typeparam name="TService">The type of the service to add.</typeparam>
  232. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  233. <param name="implementationFactory">The factory that creates the service.</param>
  234. </member>
  235. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  236. <summary>
  237. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  238. to the <paramref name="collection"/> if the service type hasn't already been registered.
  239. </summary>
  240. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  241. <param name="service">The type of the service to register.</param>
  242. </member>
  243. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  244. <summary>
  245. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  246. with the <paramref name="implementationType"/> implementation
  247. to the <paramref name="collection"/> if the service type hasn't already been registered.
  248. </summary>
  249. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  250. <param name="service">The type of the service to register.</param>
  251. <param name="implementationType">The implementation type of the service.</param>
  252. </member>
  253. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  254. <summary>
  255. Adds the specified <paramref name="service"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  256. using the factory specified in <paramref name="implementationFactory"/>
  257. to the <paramref name="collection"/> if the service type hasn't already been registered.
  258. </summary>
  259. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  260. <param name="service">The type of the service to register.</param>
  261. <param name="implementationFactory">The factory that creates the service.</param>
  262. </member>
  263. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  264. <summary>
  265. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  266. to the <paramref name="collection"/> if the service type hasn't already been registered.
  267. </summary>
  268. <typeparam name="TService">The type of the service to add.</typeparam>
  269. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  270. </member>
  271. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  272. <summary>
  273. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  274. implementation type specified in <typeparamref name="TImplementation"/>
  275. to the <paramref name="collection"/> if the service type hasn't already been registered.
  276. </summary>
  277. <typeparam name="TService">The type of the service to add.</typeparam>
  278. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  279. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  280. </member>
  281. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,``0)">
  282. <summary>
  283. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  284. with an instance specified in <paramref name="instance"/>
  285. to the <paramref name="collection"/> if the service type hasn't already been registered.
  286. </summary>
  287. <typeparam name="TService">The type of the service to add.</typeparam>
  288. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  289. <param name="instance">The instance of the service to add.</param>
  290. </member>
  291. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  292. <summary>
  293. Adds the specified <typeparamref name="TService"/> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> service
  294. using the factory specified in <paramref name="implementationFactory"/>
  295. to the <paramref name="services"/> if the service type hasn't already been registered.
  296. </summary>
  297. <typeparam name="TService">The type of the service to add.</typeparam>
  298. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  299. <param name="implementationFactory">The factory that creates the service.</param>
  300. </member>
  301. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  302. <summary>
  303. Adds a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> if an existing descriptor with the same
  304. <see cref="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType"/> and an implementation that does not already exist
  305. in <paramref name="services.."/>.
  306. </summary>
  307. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  308. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</param>
  309. <remarks>
  310. Use <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> when registering a service implementation of a
  311. service type that
  312. supports multiple registrations of the same service type. Using
  313. <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> is not idempotent and can add
  314. duplicate
  315. <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> instances if called twice. Using
  316. <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> will prevent registration
  317. of multiple implementation types.
  318. </remarks>
  319. </member>
  320. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
  321. <summary>
  322. Adds the specified <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s if an existing descriptor with the same
  323. <see cref="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType"/> and an implementation that does not already exist
  324. in <paramref name="services.."/>.
  325. </summary>
  326. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  327. <param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>s.</param>
  328. <remarks>
  329. Use <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> when registering a service
  330. implementation of a service type that
  331. supports multiple registrations of the same service type. Using
  332. <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> is not idempotent and can add
  333. duplicate
  334. <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> instances if called twice. Using
  335. <see cref="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)"/> will prevent registration
  336. of multiple implementation types.
  337. </remarks>
  338. </member>
  339. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Replace(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  340. <summary>
  341. Removes the first service in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> with the same service type
  342. as <paramref name="descriptor"/> and adds <paramref name="descriptor"/> to the collection.
  343. </summary>
  344. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  345. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> to replace with.</param>
  346. <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> for chaining.</returns>
  347. </member>
  348. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  349. <summary>
  350. Removes all services of type <typeparamref name="T"/> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  351. </summary>
  352. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  353. <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> for chaining.</returns>
  354. </member>
  355. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  356. <summary>
  357. Removes all services of type <paramref name="serviceType"/> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  358. </summary>
  359. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.</param>
  360. <param name="serviceType">The service type to remove.</param>
  361. <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> for chaining.</returns>
  362. </member>
  363. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceCollection">
  364. <summary>
  365. Specifies the contract for a collection of service descriptors.
  366. </summary>
  367. </member>
  368. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1">
  369. <summary>
  370. Provides an extension point for creating a container specific builder and an <see cref="T:System.IServiceProvider"/>.
  371. </summary>
  372. </member>
  373. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1.CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  374. <summary>
  375. Creates a container builder from an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  376. </summary>
  377. <param name="services">The collection of services</param>
  378. <returns>A container builder that can be used to create an <see cref="T:System.IServiceProvider"/>.</returns>
  379. </member>
  380. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1.CreateServiceProvider(`0)">
  381. <summary>
  382. Creates an <see cref="T:System.IServiceProvider"/> from the container builder.
  383. </summary>
  384. <param name="containerBuilder">The container builder</param>
  385. <returns>An <see cref="T:System.IServiceProvider"/></returns>
  386. </member>
  387. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceProviderIsService">
  388. <summary>
  389. Optional service used to determine if the specified type is available from the <see cref="T:System.IServiceProvider"/>.
  390. </summary>
  391. </member>
  392. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderIsService.IsService(System.Type)">
  393. <summary>
  394. Determines if the specified service type is available from the <see cref="T:System.IServiceProvider"/>.
  395. </summary>
  396. <param name="serviceType">An object that specifies the type of service object to test.</param>
  397. <returns>true if the specified service is a available, false if it is not.</returns>
  398. </member>
  399. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceScope">
  400. <summary>
  401. The <see cref="M:System.IDisposable.Dispose"/> method ends the scope lifetime. Once Dispose
  402. is called, any scoped services that have been resolved from
  403. <see cref="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider"/> will be
  404. disposed.
  405. </summary>
  406. </member>
  407. <member name="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider">
  408. <summary>
  409. The <see cref="T:System.IServiceProvider"/> used to resolve dependencies from the scope.
  410. </summary>
  411. </member>
  412. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory">
  413. <summary>
  414. A factory for creating instances of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/>, which is used to create
  415. services within a scope.
  416. </summary>
  417. </member>
  418. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory.CreateScope">
  419. <summary>
  420. Create an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> which
  421. contains an <see cref="T:System.IServiceProvider"/> used to resolve dependencies from a
  422. newly created scope.
  423. </summary>
  424. <returns>
  425. An <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> controlling the
  426. lifetime of the scope. Once this is disposed, any scoped services that have been resolved
  427. from the <see cref="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider"/>
  428. will also be disposed.
  429. </returns>
  430. </member>
  431. <member name="T:Microsoft.Extensions.DependencyInjection.ISupportRequiredService">
  432. <summary>
  433. Optional contract used by <see cref="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)"/>
  434. to resolve services if supported by <see cref="T:System.IServiceProvider"/>.
  435. </summary>
  436. </member>
  437. <member name="M:Microsoft.Extensions.DependencyInjection.ISupportRequiredService.GetRequiredService(System.Type)">
  438. <summary>
  439. Gets service of type <paramref name="serviceType"/> from the <see cref="T:System.IServiceProvider"/> implementing
  440. this interface.
  441. </summary>
  442. <param name="serviceType">An object that specifies the type of service object to get.</param>
  443. <returns>A service object of type <paramref name="serviceType"/>.
  444. Throws an exception if the <see cref="T:System.IServiceProvider"/> cannot create the object.</returns>
  445. </member>
  446. <member name="T:Microsoft.Extensions.DependencyInjection.ObjectFactory">
  447. <summary>
  448. The result of <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])"/>.
  449. </summary>
  450. <param name="serviceProvider">The <see cref="T:System.IServiceProvider"/> to get service arguments from.</param>
  451. <param name="arguments">Additional constructor arguments.</param>
  452. <returns>The instantiated type.</returns>
  453. </member>
  454. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollection">
  455. <summary>
  456. Default implementation of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  457. </summary>
  458. </member>
  459. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.Count">
  460. <inheritdoc />
  461. </member>
  462. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.IsReadOnly">
  463. <inheritdoc />
  464. </member>
  465. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceCollection.Item(System.Int32)">
  466. <inheritdoc />
  467. </member>
  468. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Clear">
  469. <inheritdoc />
  470. </member>
  471. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Contains(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  472. <inheritdoc />
  473. </member>
  474. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.CopyTo(Microsoft.Extensions.DependencyInjection.ServiceDescriptor[],System.Int32)">
  475. <inheritdoc />
  476. </member>
  477. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Remove(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  478. <inheritdoc />
  479. </member>
  480. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.GetEnumerator">
  481. <inheritdoc />
  482. </member>
  483. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.IndexOf(Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  484. <inheritdoc />
  485. </member>
  486. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.Insert(System.Int32,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  487. <inheritdoc />
  488. </member>
  489. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.RemoveAt(System.Int32)">
  490. <inheritdoc />
  491. </member>
  492. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollection.MakeReadOnly">
  493. <summary>
  494. Makes this collection read-only.
  495. </summary>
  496. <remarks>
  497. After the collection is marked as read-only, any further attempt to modify it throws an <see cref="T:System.InvalidOperationException" />.
  498. </remarks>
  499. </member>
  500. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions">
  501. <summary>
  502. Extension methods for adding services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
  503. </summary>
  504. </member>
  505. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  506. <summary>
  507. Adds a transient service of the type specified in <paramref name="serviceType"/> with an
  508. implementation of the type specified in <paramref name="implementationType"/> to the
  509. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  510. </summary>
  511. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  512. <param name="serviceType">The type of the service to register.</param>
  513. <param name="implementationType">The implementation type of the service.</param>
  514. <returns>A reference to this instance after the operation has completed.</returns>
  515. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  516. </member>
  517. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  518. <summary>
  519. Adds a transient service of the type specified in <paramref name="serviceType"/> with a
  520. factory specified in <paramref name="implementationFactory"/> to the
  521. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  522. </summary>
  523. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  524. <param name="serviceType">The type of the service to register.</param>
  525. <param name="implementationFactory">The factory that creates the service.</param>
  526. <returns>A reference to this instance after the operation has completed.</returns>
  527. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  528. </member>
  529. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  530. <summary>
  531. Adds a transient service of the type specified in <typeparamref name="TService"/> with an
  532. implementation type specified in <typeparamref name="TImplementation"/> to the
  533. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  534. </summary>
  535. <typeparam name="TService">The type of the service to add.</typeparam>
  536. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  537. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  538. <returns>A reference to this instance after the operation has completed.</returns>
  539. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  540. </member>
  541. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  542. <summary>
  543. Adds a transient service of the type specified in <paramref name="serviceType"/> to the
  544. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  545. </summary>
  546. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  547. <param name="serviceType">The type of the service to register and the implementation to use.</param>
  548. <returns>A reference to this instance after the operation has completed.</returns>
  549. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  550. </member>
  551. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  552. <summary>
  553. Adds a transient service of the type specified in <typeparamref name="TService"/> to the
  554. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  555. </summary>
  556. <typeparam name="TService">The type of the service to add.</typeparam>
  557. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  558. <returns>A reference to this instance after the operation has completed.</returns>
  559. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  560. </member>
  561. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  562. <summary>
  563. Adds a transient service of the type specified in <typeparamref name="TService"/> with a
  564. factory specified in <paramref name="implementationFactory"/> to the
  565. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  566. </summary>
  567. <typeparam name="TService">The type of the service to add.</typeparam>
  568. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  569. <param name="implementationFactory">The factory that creates the service.</param>
  570. <returns>A reference to this instance after the operation has completed.</returns>
  571. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  572. </member>
  573. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
  574. <summary>
  575. Adds a transient service of the type specified in <typeparamref name="TService"/> with an
  576. implementation type specified in <typeparamref name="TImplementation" /> using the
  577. factory specified in <paramref name="implementationFactory"/> to the
  578. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  579. </summary>
  580. <typeparam name="TService">The type of the service to add.</typeparam>
  581. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  582. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  583. <param name="implementationFactory">The factory that creates the service.</param>
  584. <returns>A reference to this instance after the operation has completed.</returns>
  585. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/>
  586. </member>
  587. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  588. <summary>
  589. Adds a scoped service of the type specified in <paramref name="serviceType"/> with an
  590. implementation of the type specified in <paramref name="implementationType"/> to the
  591. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  592. </summary>
  593. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  594. <param name="serviceType">The type of the service to register.</param>
  595. <param name="implementationType">The implementation type of the service.</param>
  596. <returns>A reference to this instance after the operation has completed.</returns>
  597. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  598. </member>
  599. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  600. <summary>
  601. Adds a scoped service of the type specified in <paramref name="serviceType"/> with a
  602. factory specified in <paramref name="implementationFactory"/> to the
  603. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  604. </summary>
  605. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  606. <param name="serviceType">The type of the service to register.</param>
  607. <param name="implementationFactory">The factory that creates the service.</param>
  608. <returns>A reference to this instance after the operation has completed.</returns>
  609. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  610. </member>
  611. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  612. <summary>
  613. Adds a scoped service of the type specified in <typeparamref name="TService"/> with an
  614. implementation type specified in <typeparamref name="TImplementation"/> to the
  615. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  616. </summary>
  617. <typeparam name="TService">The type of the service to add.</typeparam>
  618. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  619. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  620. <returns>A reference to this instance after the operation has completed.</returns>
  621. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  622. </member>
  623. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  624. <summary>
  625. Adds a scoped service of the type specified in <paramref name="serviceType"/> to the
  626. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  627. </summary>
  628. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  629. <param name="serviceType">The type of the service to register and the implementation to use.</param>
  630. <returns>A reference to this instance after the operation has completed.</returns>
  631. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  632. </member>
  633. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  634. <summary>
  635. Adds a scoped service of the type specified in <typeparamref name="TService"/> to the
  636. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  637. </summary>
  638. <typeparam name="TService">The type of the service to add.</typeparam>
  639. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  640. <returns>A reference to this instance after the operation has completed.</returns>
  641. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  642. </member>
  643. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  644. <summary>
  645. Adds a scoped service of the type specified in <typeparamref name="TService"/> with a
  646. factory specified in <paramref name="implementationFactory"/> to the
  647. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  648. </summary>
  649. <typeparam name="TService">The type of the service to add.</typeparam>
  650. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  651. <param name="implementationFactory">The factory that creates the service.</param>
  652. <returns>A reference to this instance after the operation has completed.</returns>
  653. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  654. </member>
  655. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
  656. <summary>
  657. Adds a scoped service of the type specified in <typeparamref name="TService"/> with an
  658. implementation type specified in <typeparamref name="TImplementation" /> using the
  659. factory specified in <paramref name="implementationFactory"/> to the
  660. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  661. </summary>
  662. <typeparam name="TService">The type of the service to add.</typeparam>
  663. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  664. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  665. <param name="implementationFactory">The factory that creates the service.</param>
  666. <returns>A reference to this instance after the operation has completed.</returns>
  667. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/>
  668. </member>
  669. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  670. <summary>
  671. Adds a singleton service of the type specified in <paramref name="serviceType"/> with an
  672. implementation of the type specified in <paramref name="implementationType"/> to the
  673. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  674. </summary>
  675. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  676. <param name="serviceType">The type of the service to register.</param>
  677. <param name="implementationType">The implementation type of the service.</param>
  678. <returns>A reference to this instance after the operation has completed.</returns>
  679. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  680. </member>
  681. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  682. <summary>
  683. Adds a singleton service of the type specified in <paramref name="serviceType"/> with a
  684. factory specified in <paramref name="implementationFactory"/> to the
  685. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  686. </summary>
  687. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  688. <param name="serviceType">The type of the service to register.</param>
  689. <param name="implementationFactory">The factory that creates the service.</param>
  690. <returns>A reference to this instance after the operation has completed.</returns>
  691. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  692. </member>
  693. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  694. <summary>
  695. Adds a singleton service of the type specified in <typeparamref name="TService"/> with an
  696. implementation type specified in <typeparamref name="TImplementation"/> to the
  697. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  698. </summary>
  699. <typeparam name="TService">The type of the service to add.</typeparam>
  700. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  701. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  702. <returns>A reference to this instance after the operation has completed.</returns>
  703. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  704. </member>
  705. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  706. <summary>
  707. Adds a singleton service of the type specified in <paramref name="serviceType"/> to the
  708. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  709. </summary>
  710. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  711. <param name="serviceType">The type of the service to register and the implementation to use.</param>
  712. <returns>A reference to this instance after the operation has completed.</returns>
  713. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  714. </member>
  715. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  716. <summary>
  717. Adds a singleton service of the type specified in <typeparamref name="TService"/> to the
  718. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  719. </summary>
  720. <typeparam name="TService">The type of the service to add.</typeparam>
  721. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  722. <returns>A reference to this instance after the operation has completed.</returns>
  723. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  724. </member>
  725. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  726. <summary>
  727. Adds a singleton service of the type specified in <typeparamref name="TService"/> with a
  728. factory specified in <paramref name="implementationFactory"/> to the
  729. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  730. </summary>
  731. <typeparam name="TService">The type of the service to add.</typeparam>
  732. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  733. <param name="implementationFactory">The factory that creates the service.</param>
  734. <returns>A reference to this instance after the operation has completed.</returns>
  735. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  736. </member>
  737. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
  738. <summary>
  739. Adds a singleton service of the type specified in <typeparamref name="TService"/> with an
  740. implementation type specified in <typeparamref name="TImplementation" /> using the
  741. factory specified in <paramref name="implementationFactory"/> to the
  742. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  743. </summary>
  744. <typeparam name="TService">The type of the service to add.</typeparam>
  745. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  746. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  747. <param name="implementationFactory">The factory that creates the service.</param>
  748. <returns>A reference to this instance after the operation has completed.</returns>
  749. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  750. </member>
  751. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Object)">
  752. <summary>
  753. Adds a singleton service of the type specified in <paramref name="serviceType"/> with an
  754. instance specified in <paramref name="implementationInstance"/> to the
  755. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  756. </summary>
  757. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  758. <param name="serviceType">The type of the service to register.</param>
  759. <param name="implementationInstance">The instance of the service.</param>
  760. <returns>A reference to this instance after the operation has completed.</returns>
  761. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  762. </member>
  763. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,``0)">
  764. <summary>
  765. Adds a singleton service of the type specified in <typeparamref name="TService" /> with an
  766. instance specified in <paramref name="implementationInstance"/> to the
  767. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  768. </summary>
  769. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> to add the service to.</param>
  770. <param name="implementationInstance">The instance of the service.</param>
  771. <returns>A reference to this instance after the operation has completed.</returns>
  772. <seealso cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>
  773. </member>
  774. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor">
  775. <summary>
  776. Describes a service with its service type, implementation, and lifetime.
  777. </summary>
  778. </member>
  779. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  780. <summary>
  781. Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified <paramref name="implementationType"/>.
  782. </summary>
  783. <param name="serviceType">The <see cref="T:System.Type"/> of the service.</param>
  784. <param name="implementationType">The <see cref="T:System.Type"/> implementing the service.</param>
  785. <param name="lifetime">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime"/> of the service.</param>
  786. </member>
  787. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Object)">
  788. <summary>
  789. Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified <paramref name="instance"/>
  790. as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/>.
  791. </summary>
  792. <param name="serviceType">The <see cref="T:System.Type"/> of the service.</param>
  793. <param name="instance">The instance implementing the service.</param>
  794. </member>
  795. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Func{System.IServiceProvider,System.Object},Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  796. <summary>
  797. Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified <paramref name="factory"/>.
  798. </summary>
  799. <param name="serviceType">The <see cref="T:System.Type"/> of the service.</param>
  800. <param name="factory">A factory used for creating service instances.</param>
  801. <param name="lifetime">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime"/> of the service.</param>
  802. </member>
  803. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ToString">
  804. <inheritdoc />
  805. </member>
  806. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``2">
  807. <summary>
  808. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  809. <typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
  810. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
  811. </summary>
  812. <typeparam name="TService">The type of the service.</typeparam>
  813. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  814. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  815. </member>
  816. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient(System.Type,System.Type)">
  817. <summary>
  818. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  819. <paramref name="service"/> and <paramref name="implementationType"/>
  820. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
  821. </summary>
  822. <param name="service">The type of the service.</param>
  823. <param name="implementationType">The type of the implementation.</param>
  824. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  825. </member>
  826. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``2(System.Func{System.IServiceProvider,``1})">
  827. <summary>
  828. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  829. <typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
  830. <paramref name="implementationFactory"/>,
  831. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
  832. </summary>
  833. <typeparam name="TService">The type of the service.</typeparam>
  834. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  835. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  836. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  837. </member>
  838. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``1(System.Func{System.IServiceProvider,``0})">
  839. <summary>
  840. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  841. <typeparamref name="TService"/>, <paramref name="implementationFactory"/>,
  842. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
  843. </summary>
  844. <typeparam name="TService">The type of the service.</typeparam>
  845. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  846. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  847. </member>
  848. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient(System.Type,System.Func{System.IServiceProvider,System.Object})">
  849. <summary>
  850. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  851. <paramref name="service"/>, <paramref name="implementationFactory"/>,
  852. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient"/> lifetime.
  853. </summary>
  854. <param name="service">The type of the service.</param>
  855. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  856. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  857. </member>
  858. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``2">
  859. <summary>
  860. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  861. <typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
  862. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
  863. </summary>
  864. <typeparam name="TService">The type of the service.</typeparam>
  865. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  866. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  867. </member>
  868. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped(System.Type,System.Type)">
  869. <summary>
  870. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  871. <paramref name="service"/> and <paramref name="implementationType"/>
  872. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
  873. </summary>
  874. <param name="service">The type of the service.</param>
  875. <param name="implementationType">The type of the implementation.</param>
  876. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  877. </member>
  878. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``2(System.Func{System.IServiceProvider,``1})">
  879. <summary>
  880. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  881. <typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
  882. <paramref name="implementationFactory"/>,
  883. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
  884. </summary>
  885. <typeparam name="TService">The type of the service.</typeparam>
  886. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  887. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  888. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  889. </member>
  890. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``1(System.Func{System.IServiceProvider,``0})">
  891. <summary>
  892. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  893. <typeparamref name="TService"/>, <paramref name="implementationFactory"/>,
  894. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
  895. </summary>
  896. <typeparam name="TService">The type of the service.</typeparam>
  897. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  898. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  899. </member>
  900. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped(System.Type,System.Func{System.IServiceProvider,System.Object})">
  901. <summary>
  902. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  903. <paramref name="service"/>, <paramref name="implementationFactory"/>,
  904. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped"/> lifetime.
  905. </summary>
  906. <param name="service">The type of the service.</param>
  907. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  908. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  909. </member>
  910. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``2">
  911. <summary>
  912. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  913. <typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
  914. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  915. </summary>
  916. <typeparam name="TService">The type of the service.</typeparam>
  917. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  918. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  919. </member>
  920. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Type)">
  921. <summary>
  922. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  923. <paramref name="service"/> and <paramref name="implementationType"/>
  924. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  925. </summary>
  926. <param name="service">The type of the service.</param>
  927. <param name="implementationType">The type of the implementation.</param>
  928. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  929. </member>
  930. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``2(System.Func{System.IServiceProvider,``1})">
  931. <summary>
  932. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  933. <typeparamref name="TService"/>, <typeparamref name="TImplementation"/>,
  934. <paramref name="implementationFactory"/>,
  935. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  936. </summary>
  937. <typeparam name="TService">The type of the service.</typeparam>
  938. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  939. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  940. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  941. </member>
  942. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``1(System.Func{System.IServiceProvider,``0})">
  943. <summary>
  944. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  945. <typeparamref name="TService"/>, <paramref name="implementationFactory"/>,
  946. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  947. </summary>
  948. <typeparam name="TService">The type of the service.</typeparam>
  949. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  950. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  951. </member>
  952. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Func{System.IServiceProvider,System.Object})">
  953. <summary>
  954. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  955. <paramref name="serviceType"/>, <paramref name="implementationFactory"/>,
  956. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  957. </summary>
  958. <param name="serviceType">The type of the service.</param>
  959. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  960. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  961. </member>
  962. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``1(``0)">
  963. <summary>
  964. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  965. <typeparamref name="TService"/>, <paramref name="implementationInstance"/>,
  966. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  967. </summary>
  968. <typeparam name="TService">The type of the service.</typeparam>
  969. <param name="implementationInstance">The instance of the implementation.</param>
  970. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  971. </member>
  972. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Object)">
  973. <summary>
  974. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  975. <paramref name="serviceType"/>, <paramref name="implementationInstance"/>,
  976. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton"/> lifetime.
  977. </summary>
  978. <param name="serviceType">The type of the service.</param>
  979. <param name="implementationInstance">The instance of the implementation.</param>
  980. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  981. </member>
  982. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Describe(System.Type,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  983. <summary>
  984. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  985. <paramref name="serviceType"/>, <paramref name="implementationType"/>,
  986. and <paramref name="lifetime"/>.
  987. </summary>
  988. <param name="serviceType">The type of the service.</param>
  989. <param name="implementationType">The type of the implementation.</param>
  990. <param name="lifetime">The lifetime of the service.</param>
  991. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  992. </member>
  993. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Describe(System.Type,System.Func{System.IServiceProvider,System.Object},Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  994. <summary>
  995. Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/> with the specified
  996. <paramref name="serviceType"/>, <paramref name="implementationFactory"/>,
  997. and <paramref name="lifetime"/>.
  998. </summary>
  999. <param name="serviceType">The type of the service.</param>
  1000. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  1001. <param name="lifetime">The lifetime of the service.</param>
  1002. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor"/>.</returns>
  1003. </member>
  1004. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime">
  1005. <summary>
  1006. Specifies the lifetime of a service in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/>.
  1007. </summary>
  1008. </member>
  1009. <member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton">
  1010. <summary>
  1011. Specifies that a single instance of the service will be created.
  1012. </summary>
  1013. </member>
  1014. <member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped">
  1015. <summary>
  1016. Specifies that a new instance of the service will be created for each scope.
  1017. </summary>
  1018. <remarks>
  1019. In ASP.NET Core applications a scope is created around each server request.
  1020. </remarks>
  1021. </member>
  1022. <member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient">
  1023. <summary>
  1024. Specifies that a new instance of the service will be created every time it is requested.
  1025. </summary>
  1026. </member>
  1027. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions">
  1028. <summary>
  1029. Extension methods for getting services from an <see cref="T:System.IServiceProvider" />.
  1030. </summary>
  1031. </member>
  1032. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService``1(System.IServiceProvider)">
  1033. <summary>
  1034. Get service of type <typeparamref name="T"/> from the <see cref="T:System.IServiceProvider"/>.
  1035. </summary>
  1036. <typeparam name="T">The type of service object to get.</typeparam>
  1037. <param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the service object from.</param>
  1038. <returns>A service object of type <typeparamref name="T"/> or null if there is no such service.</returns>
  1039. </member>
  1040. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(System.IServiceProvider,System.Type)">
  1041. <summary>
  1042. Get service of type <paramref name="serviceType"/> from the <see cref="T:System.IServiceProvider"/>.
  1043. </summary>
  1044. <param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the service object from.</param>
  1045. <param name="serviceType">An object that specifies the type of service object to get.</param>
  1046. <returns>A service object of type <paramref name="serviceType"/>.</returns>
  1047. <exception cref="T:System.InvalidOperationException">There is no service of type <paramref name="serviceType"/>.</exception>
  1048. </member>
  1049. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)">
  1050. <summary>
  1051. Get service of type <typeparamref name="T"/> from the <see cref="T:System.IServiceProvider"/>.
  1052. </summary>
  1053. <typeparam name="T">The type of service object to get.</typeparam>
  1054. <param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the service object from.</param>
  1055. <returns>A service object of type <typeparamref name="T"/>.</returns>
  1056. <exception cref="T:System.InvalidOperationException">There is no service of type <typeparamref name="T"/>.</exception>
  1057. </member>
  1058. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices``1(System.IServiceProvider)">
  1059. <summary>
  1060. Get an enumeration of services of type <typeparamref name="T"/> from the <see cref="T:System.IServiceProvider"/>.
  1061. </summary>
  1062. <typeparam name="T">The type of service object to get.</typeparam>
  1063. <param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the services from.</param>
  1064. <returns>An enumeration of services of type <typeparamref name="T"/>.</returns>
  1065. </member>
  1066. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices(System.IServiceProvider,System.Type)">
  1067. <summary>
  1068. Get an enumeration of services of type <paramref name="serviceType"/> from the <see cref="T:System.IServiceProvider"/>.
  1069. </summary>
  1070. <param name="provider">The <see cref="T:System.IServiceProvider"/> to retrieve the services from.</param>
  1071. <param name="serviceType">An object that specifies the type of service object to get.</param>
  1072. <returns>An enumeration of services of type <paramref name="serviceType"/>.</returns>
  1073. </member>
  1074. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateScope(System.IServiceProvider)">
  1075. <summary>
  1076. Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> that can be used to resolve scoped services.
  1077. </summary>
  1078. <param name="provider">The <see cref="T:System.IServiceProvider"/> to create the scope from.</param>
  1079. <returns>A <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope"/> that can be used to resolve scoped services.</returns>
  1080. </member>
  1081. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateAsyncScope(System.IServiceProvider)">
  1082. <summary>
  1083. Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.
  1084. </summary>
  1085. <param name="provider">The <see cref="T:System.IServiceProvider"/> to create the scope from.</param>
  1086. <returns>An <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.</returns>
  1087. </member>
  1088. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateAsyncScope(Microsoft.Extensions.DependencyInjection.IServiceScopeFactory)">
  1089. <summary>
  1090. Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.
  1091. </summary>
  1092. <param name="serviceScopeFactory">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory"/> to create the scope from.</param>
  1093. <returns>An <see cref="T:Microsoft.Extensions.DependencyInjection.AsyncServiceScope"/> that can be used to resolve scoped services.</returns>
  1094. </member>
  1095. <member name="M:System.ThrowHelper.ThrowIfNull(System.Object,System.String)">
  1096. <summary>Throws an <see cref="T:System.ArgumentNullException"/> if <paramref name="argument"/> is null.</summary>
  1097. <param name="argument">The reference type argument to validate as non-null.</param>
  1098. <param name="paramName">The name of the parameter with which <paramref name="argument"/> corresponds.</param>
  1099. </member>
  1100. <member name="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute">
  1101. <summary>
  1102. Indicates that the specified method requires the ability to generate new code at runtime,
  1103. for example through <see cref="N:System.Reflection"/>.
  1104. </summary>
  1105. <remarks>
  1106. This allows tools to understand which methods are unsafe to call when compiling ahead of time.
  1107. </remarks>
  1108. </member>
  1109. <member name="M:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.#ctor(System.String)">
  1110. <summary>
  1111. Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute"/> class
  1112. with the specified message.
  1113. </summary>
  1114. <param name="message">
  1115. A message that contains information about the usage of dynamic code.
  1116. </param>
  1117. </member>
  1118. <member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Message">
  1119. <summary>
  1120. Gets a message that contains information about the usage of dynamic code.
  1121. </summary>
  1122. </member>
  1123. <member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Url">
  1124. <summary>
  1125. Gets or sets an optional URL that contains more information about the method,
  1126. why it requires dynamic code, and what options a consumer has to deal with it.
  1127. </summary>
  1128. </member>
  1129. <member name="P:System.SR.AmbiguousConstructorMatch">
  1130. <summary>Multiple constructors accepting all given argument types have been found in type '{0}'. There should only be one applicable constructor.</summary>
  1131. </member>
  1132. <member name="P:System.SR.CannotResolveService">
  1133. <summary>Unable to resolve service for type '{0}' while attempting to activate '{1}'.</summary>
  1134. </member>
  1135. <member name="P:System.SR.NoConstructorMatch">
  1136. <summary>A suitable constructor for type '{0}' could not be located. Ensure the type is concrete and services are registered for all parameters of a public constructor.</summary>
  1137. </member>
  1138. <member name="P:System.SR.NoServiceRegistered">
  1139. <summary>No service for type '{0}' has been registered.</summary>
  1140. </member>
  1141. <member name="P:System.SR.ServiceCollectionReadOnly">
  1142. <summary>The service collection cannot be modified because it is read-only.</summary>
  1143. </member>
  1144. <member name="P:System.SR.TryAddIndistinguishableTypeToEnumerable">
  1145. <summary>Implementation type cannot be '{0}' because it is indistinguishable from other services registered for '{1}'.</summary>
  1146. </member>
  1147. <member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
  1148. <summary>
  1149. Attribute used to indicate a source generator should create a function for marshalling
  1150. arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
  1151. </summary>
  1152. <remarks>
  1153. This attribute is meaningless if the source generator associated with it is not enabled.
  1154. The current built-in source generator only supports C# and only supplies an implementation when
  1155. applied to static, partial, non-generic methods.
  1156. </remarks>
  1157. </member>
  1158. <member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
  1159. <summary>
  1160. Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
  1161. </summary>
  1162. <param name="libraryName">Name of the library containing the import.</param>
  1163. </member>
  1164. <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
  1165. <summary>
  1166. Gets the name of the library containing the import.
  1167. </summary>
  1168. </member>
  1169. <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
  1170. <summary>
  1171. Gets or sets the name of the entry point to be called.
  1172. </summary>
  1173. </member>
  1174. <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
  1175. <summary>
  1176. Gets or sets how to marshal string arguments to the method.
  1177. </summary>
  1178. <remarks>
  1179. If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
  1180. <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
  1181. </remarks>
  1182. </member>
  1183. <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
  1184. <summary>
  1185. Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
  1186. </summary>
  1187. <remarks>
  1188. If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
  1189. or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
  1190. </remarks>
  1191. </member>
  1192. <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
  1193. <summary>
  1194. Gets or sets whether the callee sets an error (SetLastError on Windows or errno
  1195. on other platforms) before returning from the attributed method.
  1196. </summary>
  1197. </member>
  1198. <member name="T:System.Runtime.InteropServices.StringMarshalling">
  1199. <summary>
  1200. Specifies how strings should be marshalled for generated p/invokes
  1201. </summary>
  1202. </member>
  1203. <member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
  1204. <summary>
  1205. Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
  1206. </summary>
  1207. </member>
  1208. <member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
  1209. <summary>
  1210. Use the platform-provided UTF-8 marshaller.
  1211. </summary>
  1212. </member>
  1213. <member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
  1214. <summary>
  1215. Use the platform-provided UTF-16 marshaller.
  1216. </summary>
  1217. </member>
  1218. </members>
  1219. </doc>