Summary
Determines whether a base version or commit should be excluded from version calculation.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.VersionCalculation
graph BT
Type["IVersionFilter"]
class Type type-node
Syntax
public interface IVersionFilter
Attributes
| Type | Description |
|---|---|
| Nullable |
Methods
| Name | Value | Summary |
|---|---|---|
| Exclude |
bool |
Returns
true when baseVersion should be excluded, setting reason to a description of why. |
| Exclude |
bool |
Returns
true when commit should be excluded, setting reason to a description of why. |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|