Summary
Extension methods on
Microsoft.Extensions.DependencyInjection.IServiceCollection and System.IServiceProvider for GitVersion module registration.- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Extensions - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ServiceCollectionExtensions"]
class Type type-node
Syntax
public static class ServiceCollectionExtensions
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Methods
| Name | Value | Summary |
|---|---|---|
| AddModule |
IServiceCollection |
Registers all services declared by gitVersionModule into serviceCollection.
static
|
| GetServiceForType |
TService |
Returns the registered TService whose concrete type is exactly TType.
static
|