Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Microsoft.Extensions.DependencyInjection.Abstractions.xml 72KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. <?xml version="1.0" encoding="utf-8"?>
  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>Helper code for the various activator services.</summary>
  9. </member>
  10. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])">
  11. <summary>Create a delegate that will instantiate a type with constructor arguments provided directly
  12. and/or from an <see cref="T:System.IServiceProvider" />.</summary>
  13. <param name="instanceType">The type to activate</param>
  14. <param name="argumentTypes">
  15. The types of objects, in order, that will be passed to the returned function as its second parameter</param>
  16. <returns>
  17. A factory that will instantiate instanceType using an <see cref="T:System.IServiceProvider" />
  18. and an argument array containing objects matching the types defined in argumentTypes
  19. .</returns>
  20. </member>
  21. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider,System.Type,System.Object[])">
  22. <summary>Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider" />.</summary>
  23. <param name="provider">The service provider used to resolve dependencies</param>
  24. <param name="instanceType">The type to activate</param>
  25. <param name="parameters">Constructor arguments not provided by the <paramref name="provider" />.</param>
  26. <returns>An activated object of type instanceType</returns>
  27. </member>
  28. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance``1(System.IServiceProvider,System.Object[])">
  29. <summary>Instantiate a type with constructor arguments provided directly and/or from an <see cref="T:System.IServiceProvider" />.</summary>
  30. <param name="provider">The service provider used to resolve dependencies</param>
  31. <param name="parameters">Constructor arguments not provided by the <paramref name="provider" />.</param>
  32. <typeparam name="T">The type to activate</typeparam>
  33. <returns>An activated object of type T</returns>
  34. </member>
  35. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(System.IServiceProvider,System.Type)">
  36. <summary>Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.</summary>
  37. <param name="provider">The service provider</param>
  38. <param name="type">The type of the service</param>
  39. <returns>The resolved service or created instance</returns>
  40. </member>
  41. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance``1(System.IServiceProvider)">
  42. <summary>Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.</summary>
  43. <param name="provider">The service provider used to resolve dependencies</param>
  44. <typeparam name="T">The type of the service</typeparam>
  45. <returns>The resolved service or created instance</returns>
  46. </member>
  47. <member name="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute">
  48. <summary>Marks the constructor to be used when activating type using <see cref="T:Microsoft.Extensions.DependencyInjection.ActivatorUtilities" />.</summary>
  49. </member>
  50. <member name="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructorAttribute.#ctor" />
  51. <member name="T:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions">
  52. <summary>Extension methods for adding and removing services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  53. </member>
  54. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  55. <summary>Adds the specified <paramref name="descriptor" /> to the <paramref name="collection" />.</summary>
  56. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  57. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> to add.</param>
  58. <returns>A reference to the current instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</returns>
  59. </member>
  60. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Add(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
  61. <summary>Adds a sequence of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> to the <paramref name="collection" />.</summary>
  62. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  63. <param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />s to add.</param>
  64. <returns>A reference to the current instance of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</returns>
  65. </member>
  66. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  67. <summary>Removes all services of type <paramref name="serviceType" /> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  68. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  69. <param name="serviceType">The service type to remove.</param>
  70. <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> for chaining.</returns>
  71. </member>
  72. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.RemoveAll``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  73. <summary>Removes all services of type <typeparamref name="T" /> in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  74. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  75. <typeparam name="T" />
  76. <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> for chaining.</returns>
  77. </member>
  78. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.Replace(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  79. <summary>Removes the first service in <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> with the same service type
  80. as <paramref name="descriptor" /> and adds <paramref name="descriptor" /> to the collection.</summary>
  81. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  82. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> to replace with.</param>
  83. <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> for chaining.</returns>
  84. </member>
  85. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  86. <summary>Adds the specified <paramref name="descriptor" /> to the <paramref name="collection" /> if the
  87. service type hasn't already been registered.</summary>
  88. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  89. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> to add.</param>
  90. </member>
  91. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
  92. <summary>Adds the specified <paramref name="descriptors" /> to the <paramref name="collection" /> if the
  93. service type hasn't already been registered.</summary>
  94. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  95. <param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />s to add.</param>
  96. </member>
  97. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.DependencyInjection.ServiceDescriptor)">
  98. <summary>Adds a <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> if an existing descriptor with the same
  99. <see cref="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType" /> and an implementation that does not already exist in <paramref name="services" />.</summary>
  100. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  101. <param name="descriptor">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</param>
  102. </member>
  103. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddEnumerable(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Collections.Generic.IEnumerable{Microsoft.Extensions.DependencyInjection.ServiceDescriptor})">
  104. <summary>Adds the specified <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />s if an existing descriptor with the same
  105. <see cref="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType" /> and an implementation that does not already exist
  106. in <paramref name="services" />.</summary>
  107. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  108. <param name="descriptors">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />s.</param>
  109. </member>
  110. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  111. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
  112. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  113. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  114. <param name="service">The type of the service to register.</param>
  115. </member>
  116. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  117. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
  118. using the factory specified in <paramref name="implementationFactory" />
  119. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  120. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  121. <param name="service">The type of the service to register.</param>
  122. <param name="implementationFactory">The factory that creates the service.</param>
  123. </member>
  124. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  125. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
  126. with the <paramref name="implementationType" /> implementation
  127. to the <paramref name="collection" /> if the service type hasn't already been registered.</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. <param name="implementationType">The implementation type of the service.</param>
  131. </member>
  132. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  133. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
  134. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  135. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  136. <typeparam name="TService">The type of the service to add.</typeparam>
  137. </member>
  138. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  139. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
  140. using the factory specified in <paramref name="implementationFactory" />
  141. to the <paramref name="services" /> if the service type hasn't already been registered.</summary>
  142. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  143. <param name="implementationFactory">The factory that creates the service.</param>
  144. <typeparam name="TService">The type of the service to add.</typeparam>
  145. </member>
  146. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  147. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> service
  148. implementation type specified in <typeparamref name="TImplementation" />
  149. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  150. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  151. <typeparam name="TService">The type of the service to add.</typeparam>
  152. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  153. </member>
  154. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  155. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  156. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  157. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  158. <param name="service">The type of the service to register.</param>
  159. </member>
  160. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  161. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  162. using the factory specified in <paramref name="implementationFactory" />
  163. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  164. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  165. <param name="service">The type of the service to register.</param>
  166. <param name="implementationFactory">The factory that creates the service.</param>
  167. </member>
  168. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  169. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  170. with the <paramref name="implementationType" /> implementation
  171. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  172. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  173. <param name="service">The type of the service to register.</param>
  174. <param name="implementationType">The implementation type of the service.</param>
  175. </member>
  176. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  177. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  178. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  179. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  180. <typeparam name="TService">The type of the service to add.</typeparam>
  181. </member>
  182. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,``0)">
  183. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  184. with an instance specified in <paramref name="instance" />
  185. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  186. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  187. <param name="instance">The instance of the service to add.</param>
  188. <typeparam name="TService">The type of the service to add.</typeparam>
  189. </member>
  190. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  191. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  192. using the factory specified in <paramref name="implementationFactory" />
  193. to the <paramref name="services" /> if the service type hasn't already been registered.</summary>
  194. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  195. <param name="implementationFactory">The factory that creates the service.</param>
  196. <typeparam name="TService">The type of the service to add.</typeparam>
  197. </member>
  198. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  199. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> service
  200. implementation type specified in <typeparamref name="TImplementation" />
  201. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  202. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  203. <typeparam name="TService">The type of the service to add.</typeparam>
  204. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  205. </member>
  206. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  207. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> service
  208. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  209. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  210. <param name="service">The type of the service to register.</param>
  211. </member>
  212. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  213. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> service
  214. using the factory specified in <paramref name="implementationFactory" />
  215. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  216. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  217. <param name="service">The type of the service to register.</param>
  218. <param name="implementationFactory">The factory that creates the service.</param>
  219. </member>
  220. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  221. <summary>Adds the specified <paramref name="service" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> service
  222. with the <paramref name="implementationType" /> implementation
  223. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  224. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  225. <param name="service">The type of the service to register.</param>
  226. <param name="implementationType">The implementation type of the service.</param>
  227. </member>
  228. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  229. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> service
  230. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  231. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  232. <typeparam name="TService">The type of the service to add.</typeparam>
  233. </member>
  234. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  235. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> service
  236. using the factory specified in <paramref name="implementationFactory" />
  237. to the <paramref name="services" /> if the service type hasn't already been registered.</summary>
  238. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  239. <param name="implementationFactory">The factory that creates the service.</param>
  240. <typeparam name="TService">The type of the service to add.</typeparam>
  241. </member>
  242. <member name="M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  243. <summary>Adds the specified <typeparamref name="TService" /> as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> service
  244. implementation type specified in <typeparamref name="TImplementation" />
  245. to the <paramref name="collection" /> if the service type hasn't already been registered.</summary>
  246. <param name="collection">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</param>
  247. <typeparam name="TService">The type of the service to add.</typeparam>
  248. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  249. </member>
  250. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceCollection">
  251. <summary>Specifies the contract for a collection of service descriptors.</summary>
  252. </member>
  253. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1">
  254. <summary>Provides an extension point for creating a container specific builder and an <see cref="T:System.IServiceProvider" />.</summary>
  255. <typeparam name="TContainerBuilder" />
  256. </member>
  257. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1.CreateBuilder(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  258. <summary>Creates a container builder from an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  259. <param name="services">The collection of services</param>
  260. <returns>A container builder that can be used to create an <see cref="T:System.IServiceProvider" />.</returns>
  261. </member>
  262. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceProviderFactory`1.CreateServiceProvider(`0)">
  263. <summary>Creates an <see cref="T:System.IServiceProvider" /> from the container builder.</summary>
  264. <param name="containerBuilder">The container builder</param>
  265. <returns>An <see cref="T:System.IServiceProvider" /></returns>
  266. </member>
  267. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceScope">
  268. <summary>The <see cref="M:System.IDisposable.Dispose" /> method ends the scope lifetime. Once Dispose
  269. is called, any scoped services that have been resolved from
  270. <see cref="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider" /> will be
  271. disposed.</summary>
  272. </member>
  273. <member name="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider">
  274. <summary>The <see cref="T:System.IServiceProvider" /> used to resolve dependencies from the scope.</summary>
  275. </member>
  276. <member name="T:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory">
  277. <summary>A factory for creating instances of <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" />, which is used to create
  278. services within a scope.</summary>
  279. </member>
  280. <member name="M:Microsoft.Extensions.DependencyInjection.IServiceScopeFactory.CreateScope">
  281. <summary>Create an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> which
  282. contains an <see cref="T:System.IServiceProvider" /> used to resolve dependencies from a
  283. newly created scope.</summary>
  284. <returns>
  285. An <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> controlling the
  286. lifetime of the scope. Once this is disposed, any scoped services that have been resolved
  287. from the <see cref="P:Microsoft.Extensions.DependencyInjection.IServiceScope.ServiceProvider" />
  288. will also be disposed.
  289. .</returns>
  290. </member>
  291. <member name="T:Microsoft.Extensions.DependencyInjection.ISupportRequiredService">
  292. <summary>Optional contract used by <see cref="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)" />
  293. to resolve services if supported by <see cref="T:System.IServiceProvider" />.</summary>
  294. </member>
  295. <member name="M:Microsoft.Extensions.DependencyInjection.ISupportRequiredService.GetRequiredService(System.Type)">
  296. <summary>Gets service of type <paramref name="serviceType" /> from the <see cref="T:System.IServiceProvider" /> implementing
  297. this interface.</summary>
  298. <param name="serviceType">An object that specifies the type of service object to get.</param>
  299. <returns>A service object of type <paramref name="serviceType" />.
  300. Throws an exception if the <see cref="T:System.IServiceProvider" /> cannot create the object.</returns>
  301. </member>
  302. <member name="T:Microsoft.Extensions.DependencyInjection.ObjectFactory">
  303. <summary>The result of <see cref="M:Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateFactory(System.Type,System.Type[])" />.</summary>
  304. <param name="serviceProvider">The <see cref="T:System.IServiceProvider" /> to get service arguments from.</param>
  305. <param name="arguments">Additional constructor arguments.</param>
  306. <returns>The instantiated type.</returns>
  307. </member>
  308. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions">
  309. <summary>Extension methods for adding services to an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  310. </member>
  311. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  312. <summary>Adds a scoped service of the type specified in <paramref name="serviceType" /> to the
  313. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  314. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  315. <param name="serviceType">The type of the service to register and the implementation to use.</param>
  316. <returns>A reference to this instance after the operation has completed.</returns>
  317. </member>
  318. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  319. <summary>Adds a scoped service of the type specified in <paramref name="serviceType" /> with a
  320. factory specified in <paramref name="implementationFactory" /> to the
  321. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  322. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  323. <param name="serviceType">The type of the service to register.</param>
  324. <param name="implementationFactory">The factory that creates the service.</param>
  325. <returns>A reference to this instance after the operation has completed.</returns>
  326. </member>
  327. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  328. <summary>Adds a scoped service of the type specified in <paramref name="serviceType" /> with an
  329. implementation of the type specified in <paramref name="implementationType" /> to the
  330. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  331. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  332. <param name="serviceType">The type of the service to register.</param>
  333. <param name="implementationType">The implementation type of the service.</param>
  334. <returns>A reference to this instance after the operation has completed.</returns>
  335. </member>
  336. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  337. <summary>Adds a scoped service of the type specified in <typeparamref name="TService" /> to the
  338. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  339. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  340. <typeparam name="TService">The type of the service to add.</typeparam>
  341. <returns>A reference to this instance after the operation has completed.</returns>
  342. </member>
  343. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  344. <summary>Adds a scoped service of the type specified in <typeparamref name="TService" /> with a
  345. factory specified in <paramref name="implementationFactory" /> to the
  346. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  347. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  348. <param name="implementationFactory">The factory that creates the service.</param>
  349. <typeparam name="TService">The type of the service to add.</typeparam>
  350. <returns>A reference to this instance after the operation has completed.</returns>
  351. </member>
  352. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  353. <summary>Adds a scoped service of the type specified in <typeparamref name="TService" /> with an
  354. implementation type specified in <typeparamref name="TImplementation" /> to the
  355. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  356. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  357. <typeparam name="TService">The type of the service to add.</typeparam>
  358. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  359. <returns>A reference to this instance after the operation has completed.</returns>
  360. </member>
  361. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
  362. <summary>Adds a scoped service of the type specified in <typeparamref name="TService" /> with an
  363. implementation type specified in <typeparamref name="TImplementation" /> using the
  364. factory specified in <paramref name="implementationFactory" /> to the
  365. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  366. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  367. <param name="implementationFactory">The factory that creates the service.</param>
  368. <typeparam name="TService">The type of the service to add.</typeparam>
  369. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  370. <returns>A reference to this instance after the operation has completed.</returns>
  371. </member>
  372. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  373. <summary>Adds a singleton service of the type specified in <paramref name="serviceType" /> to the
  374. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  375. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  376. <param name="serviceType">The type of the service to register and the implementation to use.</param>
  377. <returns>A reference to this instance after the operation has completed.</returns>
  378. </member>
  379. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  380. <summary>Adds a singleton service of the type specified in <paramref name="serviceType" /> with a
  381. factory specified in <paramref name="implementationFactory" /> to the
  382. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  383. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  384. <param name="serviceType">The type of the service to register.</param>
  385. <param name="implementationFactory">The factory that creates the service.</param>
  386. <returns>A reference to this instance after the operation has completed.</returns>
  387. </member>
  388. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Object)">
  389. <summary>Adds a singleton service of the type specified in <paramref name="serviceType" /> with an
  390. instance specified in <paramref name="implementationInstance" /> to the
  391. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  392. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  393. <param name="serviceType">The type of the service to register.</param>
  394. <param name="implementationInstance">The instance of the service.</param>
  395. <returns>A reference to this instance after the operation has completed.</returns>
  396. </member>
  397. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  398. <summary>Adds a singleton service of the type specified in <paramref name="serviceType" /> with an
  399. implementation of the type specified in <paramref name="implementationType" /> to the
  400. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  401. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  402. <param name="serviceType">The type of the service to register.</param>
  403. <param name="implementationType">The implementation type of the service.</param>
  404. <returns>A reference to this instance after the operation has completed.</returns>
  405. </member>
  406. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  407. <summary>Adds a singleton service of the type specified in <typeparamref name="TService" /> to the
  408. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  409. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  410. <typeparam name="TService">The type of the service to add.</typeparam>
  411. <returns>A reference to this instance after the operation has completed.</returns>
  412. </member>
  413. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,``0)">
  414. <summary>Adds a singleton service of the type specified in <typeparamref name="TService" /> with an
  415. instance specified in <paramref name="implementationInstance" /> to the
  416. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  417. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  418. <param name="implementationInstance">The instance of the service.</param>
  419. <typeparam name="TService" />
  420. <returns>A reference to this instance after the operation has completed.</returns>
  421. </member>
  422. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  423. <summary>Adds a singleton service of the type specified in <typeparamref name="TService" /> with a
  424. factory specified in <paramref name="implementationFactory" /> to the
  425. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  426. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  427. <param name="implementationFactory">The factory that creates the service.</param>
  428. <typeparam name="TService">The type of the service to add.</typeparam>
  429. <returns>A reference to this instance after the operation has completed.</returns>
  430. </member>
  431. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  432. <summary>Adds a singleton service of the type specified in <typeparamref name="TService" /> with an
  433. implementation type specified in <typeparamref name="TImplementation" /> to the
  434. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  435. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  436. <typeparam name="TService">The type of the service to add.</typeparam>
  437. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  438. <returns>A reference to this instance after the operation has completed.</returns>
  439. </member>
  440. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
  441. <summary>Adds a singleton service of the type specified in <typeparamref name="TService" /> with an
  442. implementation type specified in <typeparamref name="TImplementation" /> using the
  443. factory specified in <paramref name="implementationFactory" /> to the
  444. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  445. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  446. <param name="implementationFactory">The factory that creates the service.</param>
  447. <typeparam name="TService">The type of the service to add.</typeparam>
  448. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  449. <returns>A reference to this instance after the operation has completed.</returns>
  450. </member>
  451. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type)">
  452. <summary>Adds a transient service of the type specified in <paramref name="serviceType" /> to the
  453. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  454. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  455. <param name="serviceType">The type of the service to register and the implementation to use.</param>
  456. <returns>A reference to this instance after the operation has completed.</returns>
  457. </member>
  458. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Func{System.IServiceProvider,System.Object})">
  459. <summary>Adds a transient service of the type specified in <paramref name="serviceType" /> with a
  460. factory specified in <paramref name="implementationFactory" /> to the
  461. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  462. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  463. <param name="serviceType">The type of the service to register.</param>
  464. <param name="implementationFactory">The factory that creates the service.</param>
  465. <returns>A reference to this instance after the operation has completed.</returns>
  466. </member>
  467. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type)">
  468. <summary>Adds a transient service of the type specified in <paramref name="serviceType" /> with an
  469. implementation of the type specified in <paramref name="implementationType" /> to the
  470. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  471. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  472. <param name="serviceType">The type of the service to register.</param>
  473. <param name="implementationType">The implementation type of the service.</param>
  474. <returns>A reference to this instance after the operation has completed.</returns>
  475. </member>
  476. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  477. <summary>Adds a transient service of the type specified in <typeparamref name="TService" /> to the
  478. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  479. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  480. <typeparam name="TService">The type of the service to add.</typeparam>
  481. <returns>A reference to this instance after the operation has completed.</returns>
  482. </member>
  483. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``1(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``0})">
  484. <summary>Adds a transient service of the type specified in <typeparamref name="TService" /> with a
  485. factory specified in <paramref name="implementationFactory" /> to the
  486. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  487. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  488. <param name="implementationFactory">The factory that creates the service.</param>
  489. <typeparam name="TService">The type of the service to add.</typeparam>
  490. <returns>A reference to this instance after the operation has completed.</returns>
  491. </member>
  492. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
  493. <summary>Adds a transient service of the type specified in <typeparamref name="TService" /> with an
  494. implementation type specified in <typeparamref name="TImplementation" /> to the
  495. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  496. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  497. <typeparam name="TService">The type of the service to add.</typeparam>
  498. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  499. <returns>A reference to this instance after the operation has completed.</returns>
  500. </member>
  501. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient``2(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Func{System.IServiceProvider,``1})">
  502. <summary>Adds a transient service of the type specified in <typeparamref name="TService" /> with an
  503. implementation type specified in <typeparamref name="TImplementation" /> using the
  504. factory specified in <paramref name="implementationFactory" /> to the
  505. specified <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  506. <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add the service to.</param>
  507. <param name="implementationFactory">The factory that creates the service.</param>
  508. <typeparam name="TService">The type of the service to add.</typeparam>
  509. <typeparam name="TImplementation">The type of the implementation to use.</typeparam>
  510. <returns>A reference to this instance after the operation has completed.</returns>
  511. </member>
  512. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor">
  513. <summary>Describes a service with its service type, implementation, and lifetime.</summary>
  514. </member>
  515. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Func{System.IServiceProvider,System.Object},Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  516. <summary>Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified <paramref name="factory" />.</summary>
  517. <param name="serviceType">The <see cref="T:System.Type" /> of the service.</param>
  518. <param name="factory">A factory used for creating service instances.</param>
  519. <param name="lifetime">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime" /> of the service.</param>
  520. </member>
  521. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Object)">
  522. <summary>Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified <paramref name="instance" />
  523. as a <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" />.</summary>
  524. <param name="serviceType">The <see cref="T:System.Type" /> of the service.</param>
  525. <param name="instance">The instance implementing the service.</param>
  526. </member>
  527. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.#ctor(System.Type,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  528. <summary>Initializes a new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified <paramref name="implementationType" />.</summary>
  529. <param name="serviceType">The <see cref="T:System.Type" /> of the service.</param>
  530. <param name="implementationType">The <see cref="T:System.Type" /> implementing the service.</param>
  531. <param name="lifetime">The <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime" /> of the service.</param>
  532. </member>
  533. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Describe(System.Type,System.Func{System.IServiceProvider,System.Object},Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  534. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  535. <paramref name="serviceType" />, <paramref name="implementationFactory" />,
  536. and <paramref name="lifetime" />.</summary>
  537. <param name="serviceType">The type of the service.</param>
  538. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  539. <param name="lifetime">The lifetime of the service.</param>
  540. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  541. </member>
  542. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Describe(System.Type,System.Type,Microsoft.Extensions.DependencyInjection.ServiceLifetime)">
  543. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  544. <paramref name="serviceType" />, <paramref name="implementationType" />,
  545. and <paramref name="lifetime" />.</summary>
  546. <param name="serviceType">The type of the service.</param>
  547. <param name="implementationType">The type of the implementation.</param>
  548. <param name="lifetime">The lifetime of the service.</param>
  549. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  550. </member>
  551. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped(System.Type,System.Func{System.IServiceProvider,System.Object})">
  552. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  553. <paramref name="service" />, <paramref name="implementationFactory" />,
  554. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  555. <param name="service">The type of the service.</param>
  556. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  557. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  558. </member>
  559. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped(System.Type,System.Type)">
  560. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  561. <paramref name="service" /> and <paramref name="implementationType" />
  562. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  563. <param name="service">The type of the service.</param>
  564. <param name="implementationType">The type of the implementation.</param>
  565. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  566. </member>
  567. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``1(System.Func{System.IServiceProvider,``0})">
  568. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  569. <typeparamref name="TService" />, <paramref name="implementationFactory" />,
  570. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  571. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  572. <typeparam name="TService">The type of the service.</typeparam>
  573. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  574. </member>
  575. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``2">
  576. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  577. <typeparamref name="TService" />, <typeparamref name="TImplementation" />,
  578. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  579. <typeparam name="TService">The type of the service.</typeparam>
  580. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  581. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  582. </member>
  583. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Scoped``2(System.Func{System.IServiceProvider,``1})">
  584. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  585. <typeparamref name="TService" />, <typeparamref name="TImplementation" />,
  586. <paramref name="implementationFactory" />,
  587. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  588. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  589. <typeparam name="TService">The type of the service.</typeparam>
  590. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  591. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  592. </member>
  593. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Func{System.IServiceProvider,System.Object})">
  594. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  595. <paramref name="serviceType" />, <paramref name="implementationFactory" />,
  596. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> lifetime.</summary>
  597. <param name="serviceType">The type of the service.</param>
  598. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  599. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  600. </member>
  601. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Object)">
  602. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  603. <paramref name="serviceType" />, <paramref name="implementationInstance" />,
  604. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  605. <param name="serviceType">The type of the service.</param>
  606. <param name="implementationInstance">The instance of the implementation.</param>
  607. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  608. </member>
  609. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type,System.Type)">
  610. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  611. <paramref name="service" /> and <paramref name="implementationType" />
  612. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> lifetime.</summary>
  613. <param name="service">The type of the service.</param>
  614. <param name="implementationType">The type of the implementation.</param>
  615. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  616. </member>
  617. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``1(``0)">
  618. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  619. <typeparamref name="TService" />, <paramref name="implementationInstance" />,
  620. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped" /> lifetime.</summary>
  621. <param name="implementationInstance">The instance of the implementation.</param>
  622. <typeparam name="TService">The type of the service.</typeparam>
  623. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  624. </member>
  625. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``1(System.Func{System.IServiceProvider,``0})">
  626. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  627. <typeparamref name="TService" />, <paramref name="implementationFactory" />,
  628. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> lifetime.</summary>
  629. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  630. <typeparam name="TService">The type of the service.</typeparam>
  631. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  632. </member>
  633. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``2">
  634. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  635. <typeparamref name="TService" />, <typeparamref name="TImplementation" />,
  636. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> lifetime.</summary>
  637. <typeparam name="TService">The type of the service.</typeparam>
  638. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  639. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  640. </member>
  641. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton``2(System.Func{System.IServiceProvider,``1})">
  642. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  643. <typeparamref name="TService" />, <typeparamref name="TImplementation" />,
  644. <paramref name="implementationFactory" />,
  645. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton" /> lifetime.</summary>
  646. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  647. <typeparam name="TService">The type of the service.</typeparam>
  648. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  649. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  650. </member>
  651. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ToString" />
  652. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient(System.Type,System.Func{System.IServiceProvider,System.Object})">
  653. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  654. <paramref name="service" />, <paramref name="implementationFactory" />,
  655. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> lifetime.</summary>
  656. <param name="service">The type of the service.</param>
  657. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  658. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  659. </member>
  660. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient(System.Type,System.Type)">
  661. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  662. <paramref name="service" /> and <paramref name="implementationType" />
  663. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> lifetime.</summary>
  664. <param name="service">The type of the service.</param>
  665. <param name="implementationType">The type of the implementation.</param>
  666. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  667. </member>
  668. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``1(System.Func{System.IServiceProvider,``0})">
  669. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  670. <typeparamref name="TService" />, <paramref name="implementationFactory" />,
  671. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> lifetime.</summary>
  672. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  673. <typeparam name="TService">The type of the service.</typeparam>
  674. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  675. </member>
  676. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``2">
  677. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  678. <typeparamref name="TService" />, <typeparamref name="TImplementation" />,
  679. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> lifetime.</summary>
  680. <typeparam name="TService">The type of the service.</typeparam>
  681. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  682. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  683. </member>
  684. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Transient``2(System.Func{System.IServiceProvider,``1})">
  685. <summary>Creates an instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" /> with the specified
  686. <typeparamref name="TService" />, <typeparamref name="TImplementation" />,
  687. <paramref name="implementationFactory" />,
  688. and the <see cref="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient" /> lifetime.</summary>
  689. <param name="implementationFactory">A factory to create new instances of the service implementation.</param>
  690. <typeparam name="TService">The type of the service.</typeparam>
  691. <typeparam name="TImplementation">The type of the implementation.</typeparam>
  692. <returns>A new instance of <see cref="T:Microsoft.Extensions.DependencyInjection.ServiceDescriptor" />.</returns>
  693. </member>
  694. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ImplementationFactory" />
  695. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ImplementationInstance" />
  696. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ImplementationType" />
  697. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Lifetime" />
  698. <member name="P:Microsoft.Extensions.DependencyInjection.ServiceDescriptor.ServiceType" />
  699. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceLifetime">
  700. <summary>Specifies the lifetime of a service in an <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.</summary>
  701. </member>
  702. <member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Scoped">
  703. <summary>Specifies that a new instance of the service will be created for each scope.</summary>
  704. </member>
  705. <member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Singleton">
  706. <summary>Specifies that a single instance of the service will be created.</summary>
  707. </member>
  708. <member name="F:Microsoft.Extensions.DependencyInjection.ServiceLifetime.Transient">
  709. <summary>Specifies that a new instance of the service will be created every time it is requested.</summary>
  710. </member>
  711. <member name="T:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions">
  712. <summary>Extension methods for getting services from an <see cref="T:System.IServiceProvider" />.</summary>
  713. </member>
  714. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.CreateScope(System.IServiceProvider)">
  715. <summary>Creates a new <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> that can be used to resolve scoped services.</summary>
  716. <param name="provider">The <see cref="T:System.IServiceProvider" /> to create the scope from.</param>
  717. <returns>A <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceScope" /> that can be used to resolve scoped services.</returns>
  718. </member>
  719. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(System.IServiceProvider,System.Type)">
  720. <summary>Get service of type <paramref name="serviceType" /> from the <see cref="T:System.IServiceProvider" />.</summary>
  721. <param name="provider">The <see cref="T:System.IServiceProvider" /> to retrieve the service object from.</param>
  722. <param name="serviceType">An object that specifies the type of service object to get.</param>
  723. <exception cref="T:System.InvalidOperationException">There is no service of type <paramref name="serviceType" />.</exception>
  724. <returns>A service object of type <paramref name="serviceType" />.</returns>
  725. </member>
  726. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService``1(System.IServiceProvider)">
  727. <summary>Get service of type <typeparamref name="T" /> from the <see cref="T:System.IServiceProvider" />.</summary>
  728. <param name="provider">The <see cref="T:System.IServiceProvider" /> to retrieve the service object from.</param>
  729. <typeparam name="T">The type of service object to get.</typeparam>
  730. <exception cref="T:System.InvalidOperationException">There is no service of type <typeparamref name="T" />.</exception>
  731. <returns>A service object of type <typeparamref name="T" />.</returns>
  732. </member>
  733. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService``1(System.IServiceProvider)">
  734. <summary>Get service of type <typeparamref name="T" /> from the <see cref="T:System.IServiceProvider" />.</summary>
  735. <param name="provider">The <see cref="T:System.IServiceProvider" /> to retrieve the service object from.</param>
  736. <typeparam name="T">The type of service object to get.</typeparam>
  737. <returns>A service object of type <typeparamref name="T" /> or null if there is no such service.</returns>
  738. </member>
  739. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices(System.IServiceProvider,System.Type)">
  740. <summary>Get an enumeration of services of type <paramref name="serviceType" /> from the <see cref="T:System.IServiceProvider" />.</summary>
  741. <param name="provider">The <see cref="T:System.IServiceProvider" /> to retrieve the services from.</param>
  742. <param name="serviceType">An object that specifies the type of service object to get.</param>
  743. <returns>An enumeration of services of type <paramref name="serviceType" />.</returns>
  744. </member>
  745. <member name="M:Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetServices``1(System.IServiceProvider)">
  746. <summary>Get an enumeration of services of type <typeparamref name="T" /> from the <see cref="T:System.IServiceProvider" />.</summary>
  747. <param name="provider">The <see cref="T:System.IServiceProvider" /> to retrieve the services from.</param>
  748. <typeparam name="T">The type of service object to get.</typeparam>
  749. <returns>An enumeration of services of type <typeparamref name="T" />.</returns>
  750. </member>
  751. </members>
  752. </doc>