CommonExtensions.

NotNullOrWhitespace(string, string) Method

Summary

Throws ArgumentException when value is null, empty, or whitespace; otherwise returns the value.
Namespace
GitVersion.Extensions
Containing Type
CommonExtensions

Syntax

public static string NotNullOrWhitespace(this string value, string name = "")

Parameters

Name Type Description
value string
name string

Return Value

Type Description
string
GitHub