CommonExtensions.

NotNullOrEmpty(string, string) Method

Summary

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

Syntax

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

Parameters

Name Type Description
value string
name string

Return Value

Type Description
string
GitHub