IGitVersionModule Interface

Summary

Represents a self-contained IoC registration module that adds a cohesive set of services to the DI container.
graph BT Type["IGitVersionModule"] class Type type-node Implementing0["VersionStrategyModule"]-.->Type click Implementing0 "/api/GitVersion.VersionCalculation/VersionStrategyModule" Implementing1["GitVersionBuildAgentsModule"]-.->Type click Implementing1 "/api/GitVersion.Agents/GitVersionBuildAgentsModule" Implementing2["GitVersionConfigurationModule"]-.->Type click Implementing2 "/api/GitVersion.Configuration/GitVersionConfigurationModule" Implementing3["GitVersionCoreModule"]-.->Type click Implementing3 "/api/GitVersion/GitVersionCoreModule" Implementing4["GitVersionLibGit2SharpModule"]-.->Type click Implementing4 "/api/GitVersion/GitVersionLibGit2SharpModule" Implementing5["GitVersionOutputModule"]-.->Type click Implementing5 "/api/GitVersion.Output/GitVersionOutputModule" Implementing6["VersionCalculationModule"]-.->Type click Implementing6 "/api/GitVersion.VersionCalculation/VersionCalculationModule" Implementing7["GitVersionCommonModule"]-.->Type click Implementing7 "/api/GitVersion/GitVersionCommonModule"

Syntax

public interface IGitVersionModule

Methods

Name Value Summary
FindAllDerivedTypes<T>(Assembly?) IEnumerable<Type>
Returns all concrete types in assembly that are assignable to T.
static
RegisterTypes(IServiceCollection) void
Registers the services provided by this module into services.

Extension Methods

Name Value Summary
NotNull<IGitVersionModule>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub