CommonExtensions Class

Summary

General-purpose extension and guard methods used throughout GitVersion.
Assembly
GitVersion.Core.dll
Namespace
GitVersion.Extensions
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CommonExtensions"] class Type type-node

Syntax

public static class CommonExtensions

Methods

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