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["VersionCalculationModule"]-.->Type click Implementing0 "/api/GitVersion.VersionCalculation/VersionCalculationModule" Implementing1["GitVersionOutputModule"]-.->Type click Implementing1 "/api/GitVersion.Output/GitVersionOutputModule" Implementing2["GitVersionConfigurationModule"]-.->Type click Implementing2 "/api/GitVersion.Configuration/GitVersionConfigurationModule" Implementing3["VersionStrategyModule"]-.->Type click Implementing3 "/api/GitVersion.VersionCalculation/VersionStrategyModule" Implementing4["GitVersionCommonModule"]-.->Type click Implementing4 "/api/GitVersion/GitVersionCommonModule" Implementing5["GitVersionLibGit2SharpModule"]-.->Type click Implementing5 "/api/GitVersion/GitVersionLibGit2SharpModule" Implementing6["GitVersionCoreModule"]-.->Type click Implementing6 "/api/GitVersion/GitVersionCoreModule" Implementing7["GitVersionBuildAgentsModule"]-.->Type click Implementing7 "/api/GitVersion.Agents/GitVersionBuildAgentsModule"

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