VersionStrategyModule Class

Summary

Registers the built-in IVersionStrategy implementations.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.VersionCalculation
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IGitVersionModule"] click Interface0 "/api/GitVersion/IGitVersionModule" Type["VersionStrategyModule"] class Type type-node

Syntax

public class VersionStrategyModule : IGitVersionModule

Constructors

Methods

Name Value Summary
RegisterTypes(IServiceCollection) void
Registers the built-in version strategies as singletons.

Extension Methods

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